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
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