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#
  4. Open a pdf file on a winform project

Open a pdf file on a winform project

Scheduled Pinned Locked Moved C#
6 Posts 5 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.
  • N Offline
    N Offline
    NarVish
    wrote on last edited by
    #1

    Hi, Is there any FREE library which will allow me to open a pdf and show it on a winform project without using AcroPDF.dll

    W L 2 Replies Last reply
    0
    • N NarVish

      Hi, Is there any FREE library which will allow me to open a pdf and show it on a winform project without using AcroPDF.dll

      W Offline
      W Offline
      Wayne Gaylard
      wrote on last edited by
      #2

      ITextSharp[^].

      When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

      P 1 Reply Last reply
      0
      • W Wayne Gaylard

        ITextSharp[^].

        When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

        P Offline
        P Offline
        Pravin Patil Mumbai
        wrote on last edited by
        #3

        ITextSharp is for create/edit purpose of PDF....? If OP just wants to open the file, then can't he do so by calling Process.Run('FilePath'); method....?

        I quit being afraid when my first venture failed and the sky didn't fall down.

        W 1 Reply Last reply
        0
        • P Pravin Patil Mumbai

          ITextSharp is for create/edit purpose of PDF....? If OP just wants to open the file, then can't he do so by calling Process.Run('FilePath'); method....?

          I quit being afraid when my first venture failed and the sky didn't fall down.

          W Offline
          W Offline
          Wayne Gaylard
          wrote on last edited by
          #4

          Sure, if they have a PDF reader installed and the file association is registered with Windows, they could do that. I was under the impression that the OP wanted to show the PDF in his application.

          When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

          1 Reply Last reply
          0
          • N NarVish

            Hi, Is there any FREE library which will allow me to open a pdf and show it on a winform project without using AcroPDF.dll

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            A WebBrowser Control should do with a PDF file whatever your Internet Explorer does to it. no need for extra libraries. :)

            Luc Pattyn [My Articles] Nil Volentibus Arduum

            B 1 Reply Last reply
            0
            • L Luc Pattyn

              A WebBrowser Control should do with a PDF file whatever your Internet Explorer does to it. no need for extra libraries. :)

              Luc Pattyn [My Articles] Nil Volentibus Arduum

              B Offline
              B Offline
              BobJanova
              wrote on last edited by
              #6

              That requires the user to have a PDF reading IE plugin, which counts as an 'extra library' in my book.

              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