How do i go about executing a piece of code if someone clicks the X on the program menu? or even if they hit ALT+F4?
Printable View
How do i go about executing a piece of code if someone clicks the X on the program menu? or even if they hit ALT+F4?
Ooops, I forgot to mention its an MDI form.. And there is no unload on it. Is there another function like that?
Strange problem, I just started vb and added a mdi form. But my mdi form has an unload event...