Reputation: 3434
I'm using VB 9 (VS2008).
I would like to know how to do the control Windows Services through an Windows Forms application.
I want to know:
Thank you!
Upvotes: 0
Views: 144
Reputation: 42607
I'm pretty sure that (unless they changed stuff recently) you'll have to do this either through p/invoke's or through WMI.
Wow, how did I forget about that class.
Upvotes: 0
Reputation: 10389
The framework class ServiceController allows you to do all of these things.
Upvotes: 4