I have a httpListener exe that is working great. What I need to do now is this one service (I think) so that when the server reboots, this program will start automatically. I got some tutorials to make services and got me set up, but when I started it, he said that it took a lot of time to answer this. I was thinking that maybe because I have a true loop in the start method.
Anyone have any ideas?
If the service is only dipped in business logic at the start event, then the event never ends, So the service does not complete the startup. I do not have any VB.NET examples, but my approach is to create a timer in the IniializeComponent event, complete with a small gap and wire over a timer.
To start a timer in an on-stream event, it has a line of code. Service startup is complete, service starts when timer application event starts to fire.
Comments
Post a Comment