Jump to content

[SOLVED] VisualBASIC close event


Recommended Posts

I can't seem to remember how to have an event handle me.close() in VB. For instance if I wanted to have a message box load when I'm closing to make sure the user wants to close, or if (and this is what I'm doing) I want to write a report in the event of the window being closed. I want it to work whether they click the x, hit alt-f4 or hit exit from the file menu. I know I have code with it being used somewhere, I just can't remember which program that was in.

Any help would be much appreciated. In the meantime I'll just create a report button and get all that working for when I recall/get reminded how to handle close events.

Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/148538-solved-visualbasic-close-event/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.