DIsplaying PDF files in a VB6 form

Posted on 2007-10-06
Last Modified: 2012-05-05
Is there a way to display PDF files in a part of a VB6 form?
Question by:star4
    LVL 142

    Assisted Solution

    by:Guy Hengel [angelIII / a3]
    you might want to check in the project components the following:

    and use the LoadFile method of such a control in your form
    LVL 17

    Accepted Solution

    include the acropdf.dll as reference in your vb form
    then copy and paste this code

    private sub form_load()
    AcroPDF1.Visible = False
    AcroPDF1.LoadFile "your filename with path here eg. C:\dss.pdf"
    AcroPDF1.Visible = True
    Screen.MousePointer = vbNormal
    end sub

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
    We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

    732 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

    17 Experts available now in Live!

    Get 1:1 Help Now