In visual basic 6.0, if you have a form displayed it will recieve these events, and how you interpret and intercept them is through the query unload event of the form. As for the OS's status there is a whole lot more information than that, that you can acquire. Look into the application wizard and have it create an about form for you if you are interested (at least I think it is the about form???).
Good Luck
Reputation Points: 156
Solved Threads: 296
Posting Virtuoso
Offline 1,670 posts
since Mar 2009