![]() |
Is runnig.
Hello,
how can I find from macro if some non office aplication is running, how can I do it? tom |
Is runnig.
"Tom" wrote in message ... 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 |
Is runnig.
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. "Fredrik Wahlgren" wrote in message ... "Tom" wrote in message ... 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 |
Is runnig.
"Tom" wrote in message ... 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 |
Is runnig.
Yes it have got window. How can works find API. Can you give me example?
thanks tom "Fredrik Wahlgren" wrote in message ... "Tom" wrote in message ... 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 |
Is runnig.
"Tom" wrote in message ... Yes it have got window. How can works find API. Can you give me example? thanks tom Here's an example that shows how to use FindWindow http://www.dicks-blog.com/archives/2...25/findwindow/ And here's a utility that will help you to find the class of the window. It's a string which you can use in FindWindow http://www.vbaccelerator.com/home/VB...py/article.asp /Fredrik |
Is runnig.
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) "Tom" wrote in message ... Yes it have got window. How can works find API. Can you give me example? thanks tom "Fredrik Wahlgren" wrote in message ... "Tom" wrote in message ... 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 |
All times are GMT +1. The time now is 08:17 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com