How do I quit an exe - Easy Question

This is an easy one. I have an small vb exe, and when the I click the close box the application is closed but still running in the background. What command can I issue to completely quit the applications either from the close box or a quit button.
kingkevAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
nahumdConnect With a Mentor Commented:
Dim frm As Form
For Each frm In Forms
    Unload frm
Next


0
 
gbarenCommented:
Use the End statement
0
 
nahumdCommented:
unloading the forms explicity is more recommended and more "clean"
0
 
kingkevAuthor Commented:
Thanks. That is what I needed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.