Thanks for the prompt reply Serge.
Unfortunately, I can't get it to work.
I even went as far as creating a new project and
included this code on the form load event (calculator program). No matter if it is open or not I get that the app is NOT running. I even included the full path and it still didn't work either way.
Can you offer any suggestions?
Thanks in advance
---------------Code:If IsApplicationRunning("calc.exe") Then
MsgBox "Application is running."
Else
MsgBox "Application is not running."
End If
Quote:
Of course. It's going to be kind of long, but here it is. Add a module to your project and copy this code:
[code]....
Then from the form (or any control) call the function like this:
Just substitute MyEXE.exe with the valid EXE name.
