Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API To Start/Stop a NT Service
Message
 
 
To
28/07/1999 11:30:46
General information
Forum:
Visual Basic
Category:
Windows API functions
Miscellaneous
Thread ID:
00247180
Message ID:
00247222
Views:
20
>Hi,
>
>Anyone knows the API call to start and stop a service running on NT ?

Guy,

I found the code online at http://home.earthlink.net/~butlerbob/vb/winnt/srvctrl.htm I'd post it here, but it's fairly extensive, but should do what you want, and more, like query if a service is running, start, stop, pause, continue (unpause) a service.

Hugo

p.s.: When are the meetings to the GVBM starting up again? I'm thinking of joining this year, just gotta be able to get to the meetings!
"My get up and go must've got up and went"
-Steve Tyler, Aerosmith
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform