Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Test if application is open

Status
Not open for further replies.

RollingMoose

Programmer
May 13, 2002
73
US
I'm looking for a way to test if my application is already open when a user tries to open it. Here's what is happening........on the unload event of my mdi parent I'm unloading all forms. However, we've had users try to open the application after they thought it was closed and nothing happens. The application shows as running in the system processes of task manager. Hopefully, that made sense. Any suggestions for making sure the app unloads completely or testing if it's open are appreciated. Thanks.
 
You might want to look at the .PrevInstance property of the Application object.

Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top