Click to See Complete Forum and Search --> : Logoff session independent


S. Ramesh
March 31st, 1999, 12:29 AM
Hi,


I have converted a VB desktop application in to an NT service. During logoff the application automatically closes and is not working as an logoff session independent. I have also included a Windows hook to my VB code and trapped both WM_QUERYENDSESSION and WM_ENDSESSION messages still this problem is not getting solved and the windows NT operating system automatically closes the application.


Could you please provide me the exact VB code for making my application logoff session independent.


Thanks

Ramesh