Results 1 to 4 of 4

Thread: Form... QueryUnload, UnLoadMode .NET equiv? [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Member McBain2's Avatar
    Join Date
    Sep 2003
    Location
    UK, Glos.
    Posts
    60

    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
  •  



Click Here to Expand Forum to Full Width