Solved

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

Posted on 2014-07-20
4
3,134 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
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.

830 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