Displaying PDF-file from a report in Access 2003

Posted on 2007-08-06
Last Modified: 2013-11-28
I am using MS Access 2003 on Windows Vista
I am trying to open a PDF file from a Report page, using the AcroPDF.dll (inserted the control on the report page, the control's name is AcroPDF4 in my example)

I have this code inside the Report_Open event:
Dim strFilePath As String
strFilePath = "c:\myfile.pdf"
Me.AcroPDF4.Object.src = strFilePath

When I open the report I get the run time error 2725 OLE server isn't registered
There is automatically made a reference to the "Adobe Acrobat 8.0 Browser Control Library 1.0" (I have Adobe Reader 8.0 installed)

If I do exactly the same from a Form (not Report), things go quit well (the PDF is displayed)!!!
Anybody who knows what the problem is???
Question by:Joar
    LVL 10

    Expert Comment

    Hi Joar,

    Is this link any help?


    Author Comment

    I am afraid not, in the same program it functions for a form but not for a report, so the approproate dll's should be registered.
    It seems to me that the MS Access Report is not able to use the  AcroPDF.dll???

    Meantime I have gone for another solution (Adobe SDK)
    Thank you anyway!
    LVL 10

    Accepted Solution

    No problem and good luck!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
    Power PDF ( is the newest product from the Document Imaging division of Nuance Communications ( It is available in two editions — …
    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 this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    779 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

    10 Experts available now in Live!

    Get 1:1 Help Now