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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Showing page of pdf file?

Showing page of pdf file?

Scheduled Pinned Locked Moved C / C++ / MFC
adobetutorialquestionannouncement
7 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.
  • B Offline
    B Offline
    Brian van der Beek
    wrote on last edited by
    #1

    I need to be able to open a .pdf file (by launching acrobat reader or writer) and show a specific page. This should be a simple thing, but I googled the whole freaking internet + news groups and could not find any usefull information. :sigh: It seems the only way to find out how to do this is to buy the adobe SDK, but I don't have the funds to do that. Besides, I don't want to incorporate the whole freaking reader in my own application, I just want to open a file on a certain page! :mad: So is there anyone out there that can solve my problems and frustrations ?

    J B 2 Replies Last reply
    0
    • B Brian van der Beek

      I need to be able to open a .pdf file (by launching acrobat reader or writer) and show a specific page. This should be a simple thing, but I googled the whole freaking internet + news groups and could not find any usefull information. :sigh: It seems the only way to find out how to do this is to buy the adobe SDK, but I don't have the funds to do that. Besides, I don't want to incorporate the whole freaking reader in my own application, I just want to open a file on a certain page! :mad: So is there anyone out there that can solve my problems and frustrations ?

      J Offline
      J Offline
      J Dunlap
      wrote on last edited by
      #2

      Use ShellExecute[^]. You will, of course, have to have Acrobat Reader installed on any PC that it runs on.

      **"Don't judge each day by the harvest you reap, but by the seeds you plant." -- Robert Louis Stevenson

      FLUID UI Toolkit | FloodFill in C# & GDI+**

      B 1 Reply Last reply
      0
      • J J Dunlap

        Use ShellExecute[^]. You will, of course, have to have Acrobat Reader installed on any PC that it runs on.

        **"Don't judge each day by the harvest you reap, but by the seeds you plant." -- Robert Louis Stevenson

        FLUID UI Toolkit | FloodFill in C# & GDI+**

        B Offline
        B Offline
        Brian van der Beek
        wrote on last edited by
        #3

        jdunlap wrote: Use ShellExecute[^]. You will, of course, have to have Acrobat Reader installed on any PC that it runs on. I thought about that, but then I still can only open the document, and not display a specific page of that document.

        J 1 Reply Last reply
        0
        • B Brian van der Beek

          jdunlap wrote: Use ShellExecute[^]. You will, of course, have to have Acrobat Reader installed on any PC that it runs on. I thought about that, but then I still can only open the document, and not display a specific page of that document.

          J Offline
          J Offline
          J Dunlap
          wrote on last edited by
          #4

          :doh: Should have paid closer attention to what you said in your post! I wonder if there's a command line option that will let you specify the page.

          **"To know what is right and not do it is the worst cowardice." -- Confucius

          FLUID UI Toolkit | FloodFill in C# & GDI+**

          1 Reply Last reply
          0
          • B Brian van der Beek

            I need to be able to open a .pdf file (by launching acrobat reader or writer) and show a specific page. This should be a simple thing, but I googled the whole freaking internet + news groups and could not find any usefull information. :sigh: It seems the only way to find out how to do this is to buy the adobe SDK, but I don't have the funds to do that. Besides, I don't want to incorporate the whole freaking reader in my own application, I just want to open a file on a certain page! :mad: So is there anyone out there that can solve my problems and frustrations ?

            B Offline
            B Offline
            Bernhard
            wrote on last edited by
            #5

            i always thought that the Adobe Reader installs an ActiveX Control. With this this should be possible. (the only thing.. you have to make a dialog with the Control on it)


            "I'm from the South Bronx, and I don't care what you say: those cows look dangerous."
            U.S. Secretary of State Colin Powell at George Bush's ranch in Texas

            B 1 Reply Last reply
            0
            • B Bernhard

              i always thought that the Adobe Reader installs an ActiveX Control. With this this should be possible. (the only thing.. you have to make a dialog with the Control on it)


              "I'm from the South Bronx, and I don't care what you say: those cows look dangerous."
              U.S. Secretary of State Colin Powell at George Bush's ranch in Texas

              B Offline
              B Offline
              Brian van der Beek
              wrote on last edited by
              #6

              I've read that you can use an ActiveX control, but this control seems to be very poorly documented. Besides, this is not really what I want, I just want to launch the acrobat reader or writer. Thanx anyway.

              B 1 Reply Last reply
              0
              • B Brian van der Beek

                I've read that you can use an ActiveX control, but this control seems to be very poorly documented. Besides, this is not really what I want, I just want to launch the acrobat reader or writer. Thanx anyway.

                B Offline
                B Offline
                Bernhard
                wrote on last edited by
                #7

                [RANT] it is documented like 99.9% of all the ActiveX Controls.. NOT AT ALL [/RANT] and i've quickly watched the functions of the interfaces.. it doesn't look like it has a "goto page" - function.. but you can call the "goto next page" function in a loop ;) yaya.. the joys of programming


                "I'm from the South Bronx, and I don't care what you say: those cows look dangerous."
                U.S. Secretary of State Colin Powell at George Bush's ranch in Texas

                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