AcrobatReader 7.0 and VB6

Posted on 2005-04-28
Last Modified: 2011-10-03
I want to be able to show PDF file inside my vb6 application.
I have already done that with VB6 and AcrobatReader 5.
With Acrobat 5 i have user PDF.OCX it was working good.
In Acrobat7 the PDF.OCX thoes not exist.
What i am supposed to do?
Question by:SimonQc
    LVL 12

    Expert Comment

    Hmmmmm....just a guess, but can you try to load the pdf into a webbrowser control on a vb form?
    LVL 11

    Accepted Solution

    as of acrobat 7.0 there is no longer a OCX control - it has been replaced by acropdf.dll.
    this won't work in VB6 it will crap out everytime you close the project and reopen it.

    I would just use the Acrobat 5 or 6 OCX personally or move to .Net which supports the Acrobat 7.0 control. The ocx from the earlier versions are fine and will serve you well for a while (7 hasn't been massively adopted yet, and by default saves as version 6 anyway)

    Failing that you will have to Shell out to open the Acrobat file externally. There are no doubt commercial version of other PDF viewers available

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

    759 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