Closing application?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am wondering how Application.Exit, Me.Dispose and End are different when it
comes to closing an application (File --> Exit menu)

Thanks
 
As far as i understand it, Application.Exit will close all open windows of a
particular window and then exits the application. It does this by terminating
all running threads and commands.

As for me.dispose, it cleans up all resources that were used by the object
that calls it.

End, just sorts of marks the end of a particular sequence of instructions,
eg end sub, end for, end if... etc.

Hope this helps.. However if i am wrong. can someone please reclarify this.
 
The Exit just exits the application, whereas the Dispose can be used to free
up resources. End just stops the application.

I would do a google on Finalize and Dispose methods.

hope that helps.
 
Back
Top