Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NT Services - HELP!

Status
Not open for further replies.

EzehM

Programmer
Joined
Feb 27, 2003
Messages
86
Location
GB
I have developed an NT service that needs to run a VBScript application. I have noticed that each time I reboot the box, I get error messages when it calls the VBScript. The start-up for the NT service is automatic. My initial reaction is that the errors are caused because the windows scripting host hasn’t started when the PC boots up.

If I set the NT service to a manual start-up, it offers temporary relief, but ideally, I would like to attribute a dependency so that the service, though automatic, doesn’t start up until windows scripting host is running.

Can I do this in code?

Thanks a lot
Milton


 
I think this link will help you:


Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top