Launching a PDF file from Access97

B

Bob

I have users that have various versions of Adobe Acrobat
(4.0, 5.0, 6.0) and since they are not installed in the
same directory I need a way to find the installed version
to display a PDF. You would think that just calling the
Access Shell() program with the "filename.PDF" would
launch it but no dice. I have set up an IF structure to
set the directory & name of all the Adobe Reader and Full
Acrobat EXE's I know of but suppose the user has installed
in a different directory.

Anyone know how to launch a PDF besides Shell()? Mayby an
API to get the location of Adobe Reader/Acrobat from the
Registry?

TIA
Bob
 
A

Albert D. Kallal

You can use:

application.FollowHyperlink "c:\my documents\test.pdf"

The above will launch any application using the correct extension. So, you
can use this for word, excel, or a PDF doc...
 

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