I'm using an MDI form and when someone clicks on the X button on the parent form, i want a popup to comeup to confirm that they want to exit the application. I put the message box in the unload event of the form but even if someone selects no and they do not want to exit the application, i have an exit sub coded here, but the application still closes. Any ideas please. Thanks