Windows Service in .NET question
Posted on 2003-03-14
I'm writing a windows service in VB.NET and I can't seem to get my Timer_Tick event to fire when the service is running. I've attached to it while it's in-process but the event NEVER fires. The timer is enabled and the interval is set to 100ms.
In my Service_OnStart event, I set the Timer.Enabled = True. I was able to attached to the process and verified that that particular line of code was executing but the event never fires.
I tried creating a windows form in my project and activating the timer on my form from the OnStart event but the Tick event never fired.
Please help :)