• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3494
  • Last Modified:

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

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
jsgould
Asked:
jsgould
  • 2
  • 2
1 Solution
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
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
 
jsgouldAuthor Commented:
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
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
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
 
jsgouldAuthor Commented:
No suitable solution provided by anyone else
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now