Controlling Services from Windows Froms

Nov 16 2005 5:59 PM
I am trying to change the state of Windows Startup type services from a "Tweaker" application I am writing for my company.

I know how to change the state, and I guess at worst, I'll have to create a service that stops the services that we are trying to set to manual.

I've looked through the ServiceController class, and the ServiceBase class, but have been unable to find anything that'll allow me to change the startup type of the service without resorting to commandline sc.exe

Thanks