Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API To Start/Stop a NT Service
Message
From
29/07/1999 12:50:34
 
General information
Forum:
Visual Basic
Category:
Windows API functions
Miscellaneous
Thread ID:
00247180
Message ID:
00247768
Views:
29
>>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!


Cool + Lots of Thanks :-)
I'll check the code and the site.


The next meeting should be on monday, september 13. I'll leave a message here as soon as I have more details.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Previous
Reply
Map
View

Click here to load this message in the networking platform