Learn how to a build a cloud-first strategyRegister Now


How to make a VB6 program, the last process to shut down?

Posted on 2006-04-26
Medium Priority
Last Modified: 2011-10-03
I have an application in VB6. I need to program it in such a way that it is the last application to shut down, after all the other processes/applications shut down.
How do I do it? Thanks a million!

Question by:clemseed
1 Comment

Accepted Solution

Kriskra earned 200 total points
ID: 16550424
Hi clemseed,

It's not possible to control the shutdown sequence of Windows. Windows end's randomly all programms which are running.

I don't think that there is any possibility. Because even if you restart your program every time when it was closed in the shutdown sequence, it's not possible becauce windows blocks any further programs you want to start.

Sorry, best regards,

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

810 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