reply You can assign 0 into datetime field. DateTime DateNonMember = 0 ; Bill Gower wrote: Assigning null value to DateTime 14-Feb-07 How do I assign a null value to a datetime variable? DateTime DateNonMember = DateTime.Parse("").ToString(); This does not work. I also tried DateTime DateNonMember = DBNull... 5 May 2010 19:25
Windows service Hi! I use a user name and a password when I logg in to my personel computer. I have set Account to User in the property for ServiceProcessInstaller. My assembly for this service is called MonitorWebSite.exe When I install the service I use installutit /i MonitorWebSite.exe When I do this I get a small dialog ... 5 May 2010 17:10
ServiceInstaller and ServiceProcessInstaller Hi! In the toolbox is there a ServiceController component but why is it not any ServiceInstaller and ServiceProcessInstaller. These are also component. I have created a windows service and added these two( ServiceInstaller and ServiceProcessInstaller) from the designer of the service and this work good but I ... 4 May 2010 17:59
Using Reflextion Hi! I have only seen some artificial example of how reflection can be used. Is it anyone that have any good example of when it's good to have this reflection. //Tony ... 4 May 2010 21:19
shut down 64bit windows 7 i m newbie Can i shut down 64bit windows 7 by c# code? Thanks ... 4 May 2010 21:19
Window service property OnCustomCommand Hi! In this example this OnCustomCommand listen to 5 different command that are integer. How can I send any of these integer to a service so it can rect and change it's behaviour ? I know only how I can start, stop,pause and such things protected override void OnCustomCommand(int command) { ... 4 May 2010 17:59
Former Professors Explains Educational Value of Free Software in Programming; Mercurial Interview RayLopez99 <raylopez88(a)gmail.com> writes: On May 3, 10:05 am, Roy Schestowitz <newsgro...(a)schestowitz.com> wrote: Learn to program with open source ,----[ Quote ] | Simon Brock guides you to the best open-source | resources to learn programming `---- http://www.pcpro.co.uk/rea... 4 May 2010 11:13
Sending email as HTML - The given path's format is not supported Hi, I would like to send email from my application by loading HTML file as a template. Everything worked fine until i added <IMG> tag with SRC option .... so if I have: <IMG > it's ok... but if I put <IMG SRC='http://<some address here' > then I get : The given path's format is not supported. Examp... 4 May 2010 15:42
To pause an Windows service application Hi! Here is some text from e-learning about windows services. "If you want to pause and restart the Windows service application, you must set the CanPauseAndContinue property to True. If this property is set to True, you should override the OnPause and OnContinue methods. However, if the OnPause method release... 5 May 2010 14:55
keeping RCW afloat Hello, In my C# project I use a COM-based SDK. Some of its COM objects generate events. Assume the following scenario (all the objects below are from the SDK): var child = new SDKLib.Child(); child.onSomeEvent += () => { doSomething() }; someParent.setChild(child); In the above code "child" COM object is ... 5 May 2010 21:37 |