Is runnig.

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Hello,

how can I find from macro if some non office aplication is running, how can
I do it?

tom
 
Tom said:
Hello,

how can I find from macro if some non office aplication is running, how can
I do it?

tom

Can you be more specific? Do you want to know if some other program tham
those from MS office is running? Would Firefox be such a program. More
importantly, why do you want/need to know?

/Fredrik
 
Hello,

I need chceck if this program (C:\Program Files\Attachmate\E!E2K\extra.exe),
becasue if yes I need exit macro.
I know how can i check it when its for example word, but how can I chcek ii
it another application.

Tom.
 
Tom said:
Hello,

I need chceck if this program (C:\Program Files\Attachmate\E!E2K\extra.exe),
becasue if yes I need exit macro.
I know how can i check it when its for example word, but how can I chcek ii
it another application.

Tom.

You only want to check one prgram, is that it? Does this program have a
window? If so, you can simply use the FindWindow API.

/Fredrik
 
Yes it have got window. How can works find API. Can you give me example?
thanks tom
 
You could use AppACtivate

On Error Resume Next
AppActivate "CodeLibrarian"
If Err.Number = 0 Then
MsgBox "Running"
End If

The name is that which you would see in tyhe Task Manager dialog.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top