:[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
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
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
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