I have written a VB6 application that I need to have run as a service. I have gone through all of the SRVANY procedures and the application appears in the service list. However when I try to start it, the program's icon appears in the system tray, but the service start dialogue eventually reports that it didn't respond in a timely fashion. The Event Viewer shows "Timeout (30000 milliseconds) waiting for the service to connect." The icon in the system tray then disappears. I can run the program directly fine.
Do I need to include some kind of link back to the OS to inform it that the service is running?
I am a complete novice with VB, so it will have to be words of one syllable please!
0 · ·