How do I add the Adobe PDF reader activex control to a form?

R

Rob Harrington

In Access 2007 - I clicked activex controls on the design tab and selected
PDF reader. I tried entering the URL that points to my PDF file (stored in a
SharePoint document library) in the src property for this control, but it
doesn't stick. It blanks out my entry as soon as I hit enter. I then tried to
set the src property programattically in the onload event for the form, but
there is no src property listed for this control when I am in the VB editor.

Am I going about this wrong. I want to embed the display of a PDF document
in my form without having to click the link and have it open in another
window.

Thanks in advance for your help.

-Rob Harrington
 
A

Arvin Meyer MVP

Early Adobe ActiveX did this, but Adobe made it more difficult starting with
version 5.0. You might try using an IE browser control and open PDF document
within that.
 
R

Rob Harrington

Thank you Arvin. Where do I find the browser control? it doesn't show up as
one of the available activeX controls. Can you point me to an example or
documentation?

-Rob Harrington
 
R

Rob Harrington

I figured out how to turn on the web browser control and I added it to my
form, but when I try webBrowser3.Navigate = "www.mydomain.com" I get an error
that this method is not supported. I don't see a SRC or URL method - how to I
send a URL to my control?

-Rob
 
A

Arvin Meyer MVP

Navigate is the correct method. You need to use the http:// protocol, or for
local files, you need the full qualified path.
 

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