BlueJay924 Posted September 19, 2003 Posted September 19, 2003 What is the best/correct way to exit out of an application? i have several forms, so should i be closing all the forms and then calling application.exit or is application.exit sufficient enough? also, if i have an openfiledialog opened, how could i close that if it's on a timer? Quote
*Experts* mutant Posted September 19, 2003 *Experts* Posted September 19, 2003 The best way is to close all forms then close the startup one on which your message loop is based. :) Quote
Mehyar Posted September 22, 2003 Posted September 22, 2003 I always wonder isn't Application.Exit() enough ??? I mean it is a built in method so it must dispose everything and exit... Quote Dream as if you'll live forever, live as if you'll die today
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.