I wrote an application in VB which runs as a service in NT 2000 platform.
When I log off, the service stops. I prevent it stopping by checking the
UnloadMode in the Form_QueryUnload. Now when I log off, the service doesn't
allow window to log off and I have to stop the service to log off. Is there
any way or routine in Visual Basic which prevent the service to stop and
allow user to log off without being stop.