Link to home
Start Free TrialLog in
Avatar of Marc Davis
Marc DavisFlag for United States of America

asked on

process before application shutdown.

Does anyone know how to finishing up processing of a VB application before the application is shutdown?

The application has no forms so I can't used the unload event or the queryunload event.

Any assistance would greatly be appreciated.

Thanks.
Avatar of LeXien
LeXien

try using 'DoEvents' after all the coding - then it will finish processing before closing.
Avatar of Marc Davis

ASKER

But what is the "event" that I should use in the program before it closes?
Can you create a dummy, invisible form that will allow you to trap the unload event?
But what is the "event" that I should use in the program before it closes?
Is there no other way to do this?
ASKER CERTIFIED SOLUTION
Avatar of mcrider
mcrider

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the assistance.
Thanks for the points! Glad I could help!


Cheers!