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

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!

Who is Participating?
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,
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.