Audax321 Posted November 1, 2002 Posted November 1, 2002 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.. Quote
*Gurus* divil Posted November 1, 2002 *Gurus* Posted November 1, 2002 It's 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. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Audax321 Posted November 1, 2002 Author Posted November 1, 2002 LOL, Thanks... I had frmSearch (the name of my form) in the left-hand dropdown... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.