|
-
May 5th, 2004, 12:21 PM
#1
Thread Starter
Addicted Member
Windows Service - Stop and Start (RESOLVED)
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
Last edited by gccosta; May 6th, 2004 at 03:24 PM.
-
May 5th, 2004, 04:01 PM
#2
Frenzied Member
I've never actually used it, but MSDN talks about the ServiceController class to do this.
-
May 6th, 2004, 03:23 PM
#3
Thread Starter
Addicted Member
thanks a lot, it works just the way i needed!!!
Guilherme Costa
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|