Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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!