connecting to pdf files


S

sunhealth

Hi all,
I am trying to connect from an access form to an external pdf file so
that it will open in adobe reader.
Any help would be appreciated.
Thanks
 
Ad

Advertisements

D

Dirk Goldgar

sunhealth said:
Hi all,
I am trying to connect from an access form to an external pdf file so
that it will open in adobe reader.
Any help would be appreciated.
Thanks
You can probably call the Application.FollowHyperlink method to open it:

Application.FollowHyperlink "C:\My Documents\MyFile.pdf"

Or you could call the Windows ShellExecute API, using the code to be
found here:

http://www.mvps.org/access/api/api0018.htm
 
Ad

Advertisements


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

Similar Threads

PDF File 3
pdf Files 1
PDF files and hyperlinks 0
linking to pdf files 1
attach pdf file 1
Export as PDF file. 2
OPEN PDF FILES 1
Storing PDF files 1

Top