VB6 service starts automatically at bootup then stops
Posted on 2005-03-14
I've written a VB6 Service using NTSVC.OCX. It works fine and I can start and stop it manually from the Services Applet (once I've installed it with /i parameter that I put in the code). If I log off and log on again it works OK too, and the icon appears back in the systray everytime....
BUT if I set it to run as Automatic from the Services Applet and then I reboot the machine it starts at bootup, along with all the various other services but then stops. I'm running XP PRO SP2 with the free ZoneAlarm(set to allow my prog to run) and free AVG anti-virus
What is going on?
Ta in advance