Accessing XP Services

TriggerCell
07-08-2005, 06:10 AM
hi everyone

i need to access windows xp's services from VB6, to see if a service is running or not, starting, stopping, and setting the startup option for any service. is this possible, is there an API or something for that?
thanks in advance

George7a
07-08-2005, 06:59 AM
You need to use the EnumServicesStatus() API. I recommend you take a look at the Wrox book: Professional NT Services

http://www.mentalis.org/apilist/EnumServicesStatus.shtml

I hope it helps

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum