?
Solved

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

Posted on 2014-07-20
4
Medium Priority
?
3,300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 85
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 85
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
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…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Suggested Courses

765 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