473,786 Members | 2,638 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
1,762
thread by: Cheong Sin | last post Nov 13 '05 by: Nicholas Paldino [.NET/C# MVP]
Hi, I like to ask what can be an ideal solution for this type of situation? We need to schedule a job every night that will basically extract data from the DB and mail that out to our clients. I am thinking of creating DTS package and using VBscript to instantiate SMTP object or creating a standardalone EXE that will basically do the same...
0
3,046
thread by: Tim Mulholland | last post Nov 13 '05 by: Tim Mulholland
I am having problems adding a user control onto a winform at design-time. When i try to add it, i get an error that pertains to a line of code in my user control where i load an xml file. It seems it takes the relative path (which at runtime points to the application directory) and looks for it in the visual studio .net 2003/Common7/IDE...
1
5,027
thread by: Dev | last post Nov 13 '05 by: Nicholas Paldino [.NET/C# MVP]
Dear Friends, I need communicate C++ methods into C# Program.If anyone knows the sample code or Links.... PLease let me know... Thanks, Dev
1
2,827
thread by: JKJ | last post Nov 13 '05 by: Juliano Bortolozzi
After I assign a role to a user how can I read what role the user is in later on other than checking User.IsInRole ()? Is there a way to directly read the user's current role as a string value?
0
1,056
thread by: Vibhu | last post Nov 13 '05 by: Vibhu
You could do somthing like this in your page Control c = CreateChildControls(); c.FindControl(); >-----Original Message----- >Hi All, > >Is it not possible to call a function defined in a user control from the web >application containing the control? >
0
941
thread by: Erwin | last post Nov 13 '05 by: Erwin
Hi all, i am new at this area and have a question about the pen class. i am not able to set the width for the object: Pen bluePen = new Pen(Color.Blue, 3); and giving me an error: Projects\MyProgram\Display.cs(65): No overload for method 'Pen' takes '2' arguments
0
1,343
thread by: Anand Ganesh | last post Nov 13 '05 by: Anand Ganesh
HI All, I have an Image. I want to clip a portion of it and copy to another image. How to do this? I know the bounding rectangle to clip. Any suggestions please. Thanks for your time and help. Regards
2
13,709
thread by: noname | last post Nov 13 '05 by: Ralph Gerbig
this may be slightly OT, but how does one get the computer name in .net? in C it's GetComputerName(). thanks!
1
11,577
thread by: Jianxin | last post Nov 13 '05 by: Willy Denoyette [MVP]
Hi, all, Can I run message pump in C# to yield cotrol to other window messages while my main thread is waiting for lengthy procesing to finish? In C++, PeekMessage(), TranslateMessage(), and DispatchMessage() will do the job. For some reason, this seems not working in managed C++.
0
1,950
thread by: Phil Bouadana | last post Nov 13 '05 by: Phil Bouadana
http://support.microsoft.com/?kbid=306683 I've implemented a project as described in the knowledge base article (accessed by above link). However, when I try to execute the Excel part of the program, I get an error saying 'An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll' The Access,...
2
4,981
thread by: Liu Guidong | last post Nov 13 '05 by: José Joye
how to use C# dll files in the C++.net?? Can anyone give me an example ?? regards, Liu Guidong
2
3,526
thread by: Ricardo Trujillo | last post Nov 13 '05 by: Ricardo Trujillo
Hi everyone... Does anybody know which is the best way (good performance) to implement an Event Sink that responds to the arrival of a mail to a specific folder in Exchange2000 using C#??? Any help would be appreciated!!! Ricardo Trujillo Medellin-Colombia
1
2,159
thread by: fhiemstra0507 | last post Nov 13 '05 by: Nicholas Paldino [.NET/C# MVP]
Hi I have a listbox that is based upon a query. This query is sorted by PetName and has the PetID and the PetName field in the query. It is based upon this table Pets which obviously has this fields in it. However, I can not find any examples of how to keep the data insync between the query and the table. I do have it working through...
2
6,144
thread by: Mike P | last post Nov 13 '05 by: Jon Skeet
I'm trying to encrypt a string into ASCII, and it seems to encrypt fine, but when I write it to my SQL Server database all the ASCII chars between 128-159 and 191-255 are replaced with the ? symbol. I know that ASCII values 128-159 aren't supported by Windows and 191-255 are non-English characters, but I've never had a problem with these...
0
1,012
thread by: Costa Lino | last post Nov 13 '05 by: Costa Lino
Hi All, I have a DataSet with xml file and I want to make a querry like this DataView dv = new DataView(mytable); dv.RowFilter = " Impression < ( MaxImpressions) "; Impression et MaxImpressions is collumns in my table the same querry access database is working but her is return 0
1
6,465
thread by: Dave | last post Nov 13 '05 by: Nicholas Paldino [.NET/C# MVP]
I would like to ask how to do the zoom function onto the image of the PictureBox ?
5
5,035
thread by: Belsam | last post Nov 13 '05 by: Oscar Papel
Hi all I need to create a windows service that will wait for a file to be copied somewhere, write it to the database, and then move the file to a storage area. I don't know when the file will come in, so I think I need a service vs using task scheduler. Am I correct? If yes, can someone help with how to do this? So far
8
8,888
thread by: someone | last post Nov 13 '05 by: Ignacio Machin
Is it possible to declare a class as static? I can't seem to do that. What if I need a class that I don't want instantiated? It will contain only static members. Thanks.
1
2,522
thread by: Martin Falta | last post Nov 13 '05 by: Gabriele G. Ponti
Hi all, I need a help with following problem. I need to create a menu from dynamic loaded assembly on the main form of my application. The menu is created succesfully, but the events of this menu, which are defined in the dynamic loaded assembly, are not raised. How can I raise them? Martin
2
167,389
thread by: Homauoon | last post Nov 13 '05 by: Ignacio Machin
Dear sir I want to get current user name from system (in windows applications) by using WNetGetUser function from Mpr.lib. Please help me. Thanks
0
5,291
thread by: dream machine | last post Nov 13 '05 by: dream machine
Hi all , when my client try to connect on my server , the ACCEPT method return the new Socket Connected. My problem is that i haven't found any Methods of * socket class * that allow my to listern When any client disconnect from server . I can loop for every client connected and test the .Connected property : but it is really poor way. ...
1
1,339
thread by: Michael McDowell | last post Nov 13 '05 by: Ignacio Machin
Hi, Would anyone here be able to point me towards an example of classes being persisted using serialization to an SQL database. I am able to persist to an XML file but not to an DataSet (and thence to SQL). One issue will involve transforming the hiricial nature or athe XML files structure to a relational representation.
1
6,815
thread by: tribal | last post Nov 13 '05 by: tribal
Hi guys, How can i convert a string to a point I had a point as a string in the first place eg : Point myPoint = new Point(12,12); string s = myPoint.ToString();
1
6,204
thread by: Dennis C. Drumm | last post Nov 13 '05 by: Tian Min Huang
Is there a way to force VS to generate a new resx file? I notice that there are some invalid entries left in the file referencing controls that no longer exist. Thanks, Dennis
0
1,594
thread by: Alok Kumar | last post Nov 13 '05 by: Alok Kumar
Dear Friends!! I've a datagrid(on Windows form) and in that there is a flag column which could be true or false. Right now I've a check box for this column but now insteed of traditional checkBox I need to put green checkmark (ON) and red X (OFF) there and it should also work like check box means I can make it ON and OFF. Plz help me If any...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.