Determine if external application is running

  • Thread starter Me!Frustrated = True
  • Start date
M

Me!Frustrated = True

I put a command button on a form for one of my users who is a little visually
impaired. The button runs the "magnify.exe" application. I also want this
user to be able to kill the "magnify" app with the same button, rather than
put a second button on the form.
Is there a way to determine in code if "magnify" is running, so I can write
an If/Then statement to change what my command button does? The path to the
application is: C:\WINDOWS\system32\magnify.exe

Thanks in advance,
Mike
 
M

Me!Frustrated = True

Much thanks Allan! I had just found Dev Ashish's fIsAppRunning code before
you posted, but I couldn't find the class name for the Magnify app.
The last thing I need to find is how to close the application from inside
Access. Could you steer me in the right direction please?

Thanks again,
Mike
 
M

Me!Frustrated = True

Disregard my previous question - a little reading and I found it. Research
is a wonderful thing....
 

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

Top