How can i stop and start some service on my machine from VB.Net?
I need to stop two services on my machine, before i do some stuff in my application, and after this, i need to start the services again.
Any tips?
Thank you,
Guilherme Costa
Printable View
How can i stop and start some service on my machine from VB.Net?
I need to stop two services on my machine, before i do some stuff in my application, and after this, i need to start the services again.
Any tips?
Thank you,
Guilherme Costa
I've never actually used it, but MSDN talks about the ServiceController class to do this.
thanks a lot, it works just the way i needed!!!
Guilherme Costa