Solved

ms access 2k10 insert adobe pdf reader activex control in access form

Posted on 2014-07-20
4
3,014 Views
Last Modified: 2014-07-25
need to display a pdf file in an access form using the adobe pdfviewer add-in. I haven't been able to find any info on how to insert/activate/use the reader in a form
0
Comment
Question by:jsgould
  • 2
  • 2
4 Comments
 
LVL 84
ID: 40207909
There is no "Adobe PDF Viewer Addin" for Access.

Instead, many people use a Web Browser control, and then set the .Navigate method to the path to the PDF. For example, if my Web Browser was named "acWeb", I'd do this:

Me.acWeb.Object.Navigate "Full Path to the PDF file"
0
 

Accepted Solution

by:
jsgould earned 0 total points
ID: 40208184
adobe reader has an activex add-in that can be inserted in an access form to display a pdf file.

me.pdfviewer.src=<full path to pdf>

I just set that up and it works flawlessly
0
 
LVL 84
ID: 40208591
Glad you got it working, but please realize that the Adobe ActiveX is intended for use with other platforms, not Access. Access is quite finicky in regard to ActiveX controls, and just because it works on your machine does not mean it will work on others. There's also deployment issues - you must insure that all other users have the control on their machine, and that it's the same version as the one you're using.

The WebBrowser control works on all platforms, and uses that ActiveX control to show the item in Internet Explorer (which is what the control was built for).

Of course, if you don't intend on deploying this then you may be okay (at least until MSFT updates Office or Windows and breaks things).
0
 

Author Closing Comment

by:jsgould
ID: 40218853
No suitable solution provided by anyone else
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now