R Rexyss Member Joined Jan 3, 2008 Messages 12 Programming Experience Beginner Jan 14, 2008 #1 When me.close, ALT-F4 og the red cross is activated the program closes. But where do i write "remember save" or likely.. What i need is the opposite of "Private Sub AppName_load" AppName_Closing or something.
When me.close, ALT-F4 og the red cross is activated the program closes. But where do i write "remember save" or likely.. What i need is the opposite of "Private Sub AppName_load" AppName_Closing or something.
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,846 Location Norway Programming Experience 10+ Jan 14, 2008 #2 Yes, the event is called FormClosing. Upvote 0 Downvote