Hello:
I have a service that runs great. I would like to figure out how to restart this service programatically. Any help would be appreciated.
Printable View
Hello:
I have a service that runs great. I would like to figure out how to restart this service programatically. Any help would be appreciated.
Very easy. Simply add the ServiceController control to your form (Found in the Components tab), bind it to the service you wish to control (make sure it's installed) and then just call its Start method.