
Do not close form on clicking close button in Visual Basic
On Wed, 28 Nov 2001 19:45:39 +0530, "Sriram Mallajyosula"
Quote:
>Hi All,
> I have created a standard exe in visual basic 6.0.
> I have a form named form1 on it.
> whenever the user clicks on the close button of the form i don't want to
>end my application and simply hide it.
> How can I achieve this.
>Regards,
>Sriram
Look up QueryUnload in the Help files. This is triggered whenever a
request is made to close a form. This will tell you all you need to
know about what happens when you try to close a form.
Stuart Sutherland