Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. PDF View

PDF View

Scheduled Pinned Locked Moved C / C++ / MFC
comquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    David Paul Jones
    wrote on last edited by
    #1

    Hi Does anybody know of an ActiveX, or something else, which I could use to display PDF files in the View of an SDI application I have written? Thanks in advance Dave

    C 1 Reply Last reply
    0
    • D David Paul Jones

      Hi Does anybody know of an ActiveX, or something else, which I could use to display PDF files in the View of an SDI application I have written? Thanks in advance Dave

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      No, but you can use IE as a control and pass it a pdf. Christian The content of this post is not necessarily the opinion of my yadda yadda yadda. To understand recursion, we must first understand recursion.

      P 1 Reply Last reply
      0
      • C Christian Graus

        No, but you can use IE as a control and pass it a pdf. Christian The content of this post is not necessarily the opinion of my yadda yadda yadda. To understand recursion, we must first understand recursion.

        P Offline
        P Offline
        Paul Selormey
        wrote on last edited by
        #3

        Not really true. You can actually do it. However, it is a bit of a hack. Available methods: 1. Official Buy the Acrobat program and use the SDK. 2. Hacking! Acrobat reader actually installs two types of ocx. The real stuff with name as pdf41.ocx or pdf42.ocx depending on your machine AND a crippling version pdf.ocx as the so-called main. In some installations the pdf41.ocx/pdf42.ocx in never installed, I have still not taken the time to find the circumstances. Now, the pdf.ocx will not allow you to use the reader in your view or dialog. However, pdf41.ocx/pfd42.ocx will. The trick is to unregister the pdf.ocx and manually register the pdf41.ocx/pdf42.ocx and you can generate the C++ wrapper classes with the Visual C++ gallery or classwiz. I did this for a TeX/LaTeX IDE I was working on--an open source effort and we could not use the paid version!!! Regards, Paul. Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for day job or programming contract anywhere!

        C 1 Reply Last reply
        0
        • P Paul Selormey

          Not really true. You can actually do it. However, it is a bit of a hack. Available methods: 1. Official Buy the Acrobat program and use the SDK. 2. Hacking! Acrobat reader actually installs two types of ocx. The real stuff with name as pdf41.ocx or pdf42.ocx depending on your machine AND a crippling version pdf.ocx as the so-called main. In some installations the pdf41.ocx/pdf42.ocx in never installed, I have still not taken the time to find the circumstances. Now, the pdf.ocx will not allow you to use the reader in your view or dialog. However, pdf41.ocx/pfd42.ocx will. The trick is to unregister the pdf.ocx and manually register the pdf41.ocx/pdf42.ocx and you can generate the C++ wrapper classes with the Visual C++ gallery or classwiz. I did this for a TeX/LaTeX IDE I was working on--an open source effort and we could not use the paid version!!! Regards, Paul. Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for day job or programming contract anywhere!

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Sorry, I should be careful how I word things - I meant no, I don't know. Christian The early bird may get the worm, but it's the second mouse that gets the cheese.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups