Unload, Closing event???

Audax321

Well-known member
Joined
May 4, 2002
Messages
90
I have code I need run when the user closes the application. From what I understand vb.net has a mybase.closing event. So, I have my code set to first call mybase.close() and then Application.exit()

So mybase.close should call the closing event right?

Well, the main problem I have is where is the closing event? Does anyone know where I should put this code I need run?

Thanks..
 
Its an event of the form, when in the code window select Base Class Events from the left-hand dropdown and Closing will be in the right-hand dropdown.
 
LOL, Thanks...

I had frmSearch (the name of my form) in the left-hand dropdown...
 
Back
Top