[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 143
  • Last Modified:

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.
0
kingkev
Asked:
kingkev
  • 2
1 Solution
 
gbarenCommented:
Use the End statement
0
 
nahumdCommented:
Dim frm As Form
For Each frm In Forms
    Unload frm
Next


0
 
nahumdCommented:
unloading the forms explicity is more recommended and more "clean"
0
 
kingkevAuthor Commented:
Thanks. That is what I needed.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now