P Philip Aug 6, 2008 #1 How would I format a button to start a non-Office program from an Access menu or form?
A Albert D. Kallal Aug 6, 2008 #2 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"
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"