Start "foreign" program from within Access

  • Thread starter Thread starter Philip
  • Start date Start date
P

Philip

How would I format a button to start a non-Office program from an Access menu
or form?
 
The code behind the button could be:


Application.FollowHyperlink "c:\MyReport.pdf"

The above would launch the pdf file as if you clicked on it (and, whatever
application is associated with that file will be launched).

Thus, you can launch any file as per above.....

Thus it makes ZERO difference if the program is part of office or not...it a
neutral issue....

You can also launch the .exe file directly by using the shell command if you
know the path name to the .exe file...

eg:

Shell "path name to .exe file"
 

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