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. How to embed Acrobat Reader in a MFC program

How to embed Acrobat Reader in a MFC program

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
6 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.
  • S Offline
    S Offline
    super kingkong
    wrote on last edited by
    #1

    Hi everyone, Now I'm writing an application in which I need to embed the Acrobat Reader component inside in order to display some PDF files. I'm novice in this section. I don't know how to do this :confused: . Any solution is really highly appreciated. Best regard.

    L 1 Reply Last reply
    0
    • S super kingkong

      Hi everyone, Now I'm writing an application in which I need to embed the Acrobat Reader component inside in order to display some PDF files. I'm novice in this section. I don't know how to do this :confused: . Any solution is really highly appreciated. Best regard.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I believe when you install Acrobat Reader an ActiveX component is also installed. Perhaps you could use that ? Elaine :rose: The tigress is here :-D

      T 1 Reply Last reply
      0
      • L Lost User

        I believe when you install Acrobat Reader an ActiveX component is also installed. Perhaps you could use that ? Elaine :rose: The tigress is here :-D

        T Offline
        T Offline
        tankhoasp
        wrote on last edited by
        #3

        The problem is that I don't know exactly how to embed a component into and MFC application :confused: . Could you give me some example? Best regard. Nothing is impossible!!! But human's ability can never pass 50% of themselves.

        L 1 Reply Last reply
        0
        • T tankhoasp

          The problem is that I don't know exactly how to embed a component into and MFC application :confused: . Could you give me some example? Best regard. Nothing is impossible!!! But human's ability can never pass 50% of themselves.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Create a dialog based MFC application and on the dialog right click and choose 'Insert ActiveX object'. That brigns up a list of the objects registered on your PC. When do do this you will be prompted to allow Visual C++ to create a class for the object (say yes). Then go to the class wizzard, go to member variables and create a member variable for the ActiveX object on the dialogue. Elaine :rose: The tigress is here :-D

          S 1 Reply Last reply
          0
          • L Lost User

            Create a dialog based MFC application and on the dialog right click and choose 'Insert ActiveX object'. That brigns up a list of the objects registered on your PC. When do do this you will be prompted to allow Visual C++ to create a class for the object (say yes). Then go to the class wizzard, go to member variables and create a member variable for the ActiveX object on the dialogue. Elaine :rose: The tigress is here :-D

            S Offline
            S Offline
            super kingkong
            wrote on last edited by
            #5

            Firstly, Thanks a lot. But another question :-> : in order to control that component (open a PDF file, close, ... dynamically ) what should I do???

            L 1 Reply Last reply
            0
            • S super kingkong

              Firstly, Thanks a lot. But another question :-> : in order to control that component (open a PDF file, close, ... dynamically ) what should I do???

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Sorry, I haven't used PDFs myself just ActiveX components in general. Elaine :rose: The tigress is here :-D

              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