borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Printer not connected to USB port)Next Topic (accessing registry in XP) New Topic New Poll Post Reply
AndreaVB Forum : API : NT Services
Poster Message
bherrok
Level: Guest


icon NT Services

In addition to the Start, Stop, Pause and Status service, I was wondering if vb can retrieve the start-up type status.

E.g. Manual, Automatic or Disabled.

Thanks,
Bernie

05-03-2003 at 09:45 PM
| Quote Reply
win_dir
Level: VB Guru

Registered: 04-08-2002
Posts: 390
icon Re: NT Services

Maybe a little late, but you may want to have a look through the registry here: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services . This seems to be where all of the information for services are stored, so just read the right registry value and your done.

Kind Regards
Mark Rawson

____________________________
We have a Mustek 5 M/Pix GSm@rt USB Digital Camera
for just £74.03 , offer only on until 30th February!

<AllDuck.com>      

Enquiries/Sales: 0845 430 9862
Fax: 0870 950 4532

02-12-2003 at 07:41 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : API : NT Services
Previous Topic (Printer not connected to USB port)Next Topic (accessing registry in XP) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder