Displaying PDF in Form (1 Viewer)

gromit

Registered User.
Local time
Today, 15:49
Joined
Nov 17, 2005
Messages
260
Hi -

Trying to display PDF in a form. Ideally, I would like to link one or more PDF's to each record in a table and be able to view the PDF within the form. Opening the file via double-click would be a nice bonus.

I've looked at a helpful post here
http://www.access-programmers.co.uk/forums/showthread.php?t=100877
which describes doing this through ActiveX

Part of my trouble is I don't understand the ActiveX well enough. I was able to make this work with a sample file, but then I lost all the tool bars that were on the document and can't get them back. I also can't figure out how to get the double-click to open to work. Is there documentation somewhere on the ActiveX control?

I also tried using an OLE object. I can create a form in design view that contains a linked PDF, but I can't figure out how to index off a table. I also can't figure out how to resize (for a thumbnail, for example).

Thanks for any assistance,

- gromit
 

ghudson

Registered User.
Local time
Today, 18:49
Joined
Jun 8, 2002
Messages
6,194
I prefer the OpenFile method [instead of the Shell() function] I use in my
Browse [Find a directory or file] sample to open a file.

Searching the forum is a great way to discover and learn the answers to
your Access programming questions.
 

gromit

Registered User.
Local time
Today, 15:49
Joined
Nov 17, 2005
Messages
260
OpenFile or Shell seem to handle opening the file in an external program window, but what I would really like to do is first view the file on the form.

- g
 

Users who are viewing this thread

Top Bottom