Link to home
Start Free TrialLog in
Avatar of rolee
rolee

asked on

Closing VB Application

I am using VB5.0 with MSSqlServer. My VB based application has a normal windows features (like three buttons at the top right of the title bar for 1.minimizing, 2.restoring 3. closing the window. I don't want user to close the window with this 'X' button push option as I am to do some processing before closing. There could be two ways to handle it :
1) disable 'X' button i.e. the right most button on the title bar.
2) i have option to program the functionality of this 'X' button so that I can attach my 'Close Window' processing code with it.
I wish to have an early reply.
ASKER CERTIFIED SOLUTION
Avatar of swilt
swilt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial