Solved

How do I quit an exe - Easy Question

Posted on 2001-06-18
4
133 Views
Last Modified: 2010-05-02
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
Comment
Question by:kingkev
  • 2
4 Comments
 
LVL 5

Expert Comment

by:gbaren
Comment Utility
Use the End statement
0
 
LVL 2

Accepted Solution

by:
nahumd earned 10 total points
Comment Utility
Dim frm As Form
For Each frm In Forms
    Unload frm
Next


0
 
LVL 2

Expert Comment

by:nahumd
Comment Utility
unloading the forms explicity is more recommended and more "clean"
0
 

Author Comment

by:kingkev
Comment Utility
Thanks. That is what I needed.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now