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

Posted on 2006-04-26
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

    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

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
    The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
    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…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    745 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

    16 Experts available now in Live!

    Get 1:1 Help Now