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!

Please help me, I can't find a thread ...

Status
Not open for further replies.

elquixiote

Technical User
Nov 30, 2002
99
MX
I'm looking for a thread that talks about knowing if an instance of a program is running. I've searched in the forum, but I can't find it.

Could someone tell me where it is?

Thanks ...

El quijote ...
 
If you mean an instance of the same program you can use

If App.PrevInstance Then
msgbox "already running"
End If

 
I think I could use that instruction, but I'm looking for a way that can test if an instance of an application is running from another application, not from the same application something like:

if applicationisrunning("otherappl.exe") then
do nothing
else
startapplication("otherappl.exe"
endif

Thanks...

el Quijote...
 
See my post in thread222-293451

You can modify that to just see if the program is running or not. You do not need to proceed with terminating it -Unless that is ultimately what you're looking to do.
 
I think I could use that instruction, but I'm looking for a way that can test if an instance of an application is running from another application, not from the same application something like:

if applicationisrunning("otherappl.exe") then
do nothing
else
startapplication("otherappl.exe"
endif

Thanks...

el Quijote...
 
There have been a number of threads on this subject. Here's one of the earliest I can find: thread222-69608
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top