[ADVANCED-DOTNET] SV: [ADVANCED-DOTNET] ServiceProcess and ServiceController

2003-12-15 Thread Marcus Classon
:[EMAIL PROTECTED] För Arlie Davis Skickat: den 12 december 2003 19:58 Till: [EMAIL PROTECTED] Ämne: Re: [ADVANCED-DOTNET] ServiceProcess and ServiceController Do NOT do this. Direct modification of the SCM registry keys is a very, very bad idea, because it gets the registry out of sync with the SCM

Re: [ADVANCED-DOTNET] ServiceProcess and ServiceController

2003-12-12 Thread Arlie Davis
cussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Chad M. Gross Sent: Friday, December 12, 2003 8:36 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] ServiceProcess and ServiceController For simplicity, you could always resort to modifying the registry Start value under t

Re: [ADVANCED-DOTNET] ServiceProcess and ServiceController

2003-12-12 Thread Chad M. Gross
For simplicity, you could always resort to modifying the registry Start value under the service key you are interested in and change it to one of the int values of the ServiceStartMode enum. There are two other values missing from the enum but those are for driver services only. Chad On Thu, 11

[ADVANCED-DOTNET] ServiceProcess and ServiceController

2003-12-11 Thread Gautama, Damon
Hello, I am trying to programmatically change the Startup Type for Services, and disable/enable Devices. The ServiceController class makes it possible to Start, Stop, Continue, and Pause, but I am looking to go a little more permanent (Disable/Enable/Manual for Services). Is there a way to do t