Creating a windows service with VB.NET

yablonka

Newcomer
Joined
May 19, 2003
Messages
14
Hi all,

I'v created a windows service with VB.NET.
This service includes a timer that preforms certain actions at every timer tick.

Does anyone know why sometime when I try to stop the service, it gets stuck on StopPending status and doen't stop.

I'v tried to release all the resources the service holds.
Perhaps I'm doing it wrong...

Any one??? please?!?!

Thanks,
 
I have has a simmilar problem when using threads within services, if your using threads you should explicitly stop them with the service stop method.
 
Back
Top