|
-
Jan 20th, 2004, 04:23 AM
#1
Thread Starter
Member
Form... QueryUnload, UnLoadMode .NET equiv? [RESOLVED]
I have a program in which in most cases I want it stay open - thus it intercepts the close command and minimizes instead.
In VB6 the QueryUnload events UnLoadMode would allow me to distinguish between an application shutdown and Windows being shutdown.
I am using the Closing event in VB.NET as QueryUnload no longer exists to intercept app close commands but this no longer has a UnLoadMode so how to I work out it it’s Task Manger, Windows and so on closing and not my application?
Currently my program will not allow Windows to shutdown!!!
Any help appreciated, Thanks.
Last edited by McBain2; Jan 22nd, 2004 at 07:58 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|