Solved

How do I quit an exe - Easy Question

Posted on 2001-06-18
4
138 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Expert Comment

by:gbaren
ID: 6203187
Use the End statement
0
 
LVL 2

Accepted Solution

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


0
 
LVL 2

Expert Comment

by:nahumd
ID: 6203195
unloading the forms explicity is more recommended and more "clean"
0
 

Author Comment

by:kingkev
ID: 6203261
Thanks. That is what I needed.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MS Date Picker 64 bit 32 bit issue 12 73
Problem to With line 4 87
MS Access 03, TransferText, decimal places 8 92
adding "ungroup sheets" to existing vbs code 5 75
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

751 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