473,544 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

8
8,883
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.
5
5,011
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
1
6,449
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 ?
0
1,004
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
2,147
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,126
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...
2
3,522
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
2
4,971
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
0
1,944
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,...
1
11,507
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++.
2
13,700
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!
0
1,331
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
0
935
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,049
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? >
1
2,821
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?
1
5,022
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
0
3,039
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
1,758
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
958
thread by: kevin | last post Nov 13 '05 by: kevin
Hi all think I am runing into .net limitation here. it's not a .net's fault, but I try to get the clicked text whenever a user click on some text in a windows app and holding down a key e.g.ctrl key. as the same time.(similar to a program called gator, atomica does), now since .net doesn't support global hook, I have to swith back to VC++...
1
953
thread by: fc | last post Nov 13 '05 by: fc
hi, i'm having a problem using C#'s lock and windows2000's text to speech (vtext.dll) ... basically it looks like the callback from the TTS is violating C#'s lock, which looks very very suspicious. here are the particulars: i've made a form that has two buttons, one to "start speaking" and one to "cancel speaking", and i've registered the...
1
3,367
thread by: vector | last post Nov 13 '05 by: Nicholas Paldino [.NET/C# MVP]
There's got to be a better way to do this. In this sample code, I've created a class in a namespace, and a class inside of a class. On calling .ToString() for those two classes, I see different output: name of Class1 is: ConsoleApplication1.Class1 name of Class2 is: ConsoleApplication1.CMain+Class2 I'm not interested in the...
2
3,938
thread by: SamIAm | last post Nov 13 '05 by: Chris Hornberger
Hi I have a form and need to display an image that is returned along with other data, i.e. Member Data, from a database row. How do I display this image in my webform? S
0
1,485
thread by: Richard | last post Nov 13 '05 by: Richard
Hi, I have made a component that contains a Dataset object. I would like to expose the contained dataset at design time so that I can bind GUI controls to it. I have implemented the IListSource interface on my component {as a pass through to the Dataset's IListSource interface} but that does not seem to be enough to get the Forms...
0
4,831
thread by: Jongmin | last post Nov 13 '05 by: Jongmin
Hi! I am making HyperLinkColumn in datagrid. It is simple to make the hyerlinkcolumn with one datafield. <asp:HyperLinkColumn Text="NAME" DataNavigateUrlField="NAME" DataNavigateUrlFormatString="http://www.aaa.com?Name={0}" SortExpression="NAME" />
1
6,259
thread by: Diego | last post Nov 13 '05 by: Nicholas Paldino [.NET/C# MVP]
Hi, There is any build in method to draw an arrow in the Graphics object? If not, anyone can send me a sample to draw an arrow. Thanks in advance...

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.