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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check for open applications

Status
Not open for further replies.

bpitche

MIS
Mar 13, 2001
43
US
I am using the Shell("G:\Max411\impmeter.exe") command to start an application. The impmeter.exe imports data into my database, then closes automatically.

This works fine, but I do not want my code to continue until the impmeter.exe application is closed. Is there a that I can do a check to see if that application is closed before my code continues?

Thanks in advance!!

Brad Pitcher
The Hoover Company
 
Or you could use app.previous instance - might be easier...
 
mmilan,

I believe that App.PrevInstance only detects whether a previous instance of the program that it's called from is already running.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
I was able to use one of the ways that was explained in Paul's thread. It works great.

Thank you to all!!

Brad Pitcher
The Hoover Company
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top