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. I want to open PDF File in my application

I want to open PDF File in my application

Scheduled Pinned Locked Moved C#
question
8 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.
  • L Offline
    L Offline
    Laji59
    wrote on last edited by
    #1

    I want to open PDF File in my application I want to open Doc File in my application How can I do it

    Hello Friends

    P G 2 Replies Last reply
    0
    • L Laji59

      I want to open PDF File in my application I want to open Doc File in my application How can I do it

      Hello Friends

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Use System.Diagnostics.Process.Start to open the file. This will open the default application associated with the file type.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      L 1 Reply Last reply
      0
      • P Pete OHanlon

        Use System.Diagnostics.Process.Start to open the file. This will open the default application associated with the file type.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        L Offline
        L Offline
        Laji59
        wrote on last edited by
        #3

        thanks Pete O'Hanlon but I don`t want to open a Doc file in Microsoft Word; I want to open a doc file in a viewer in my application help me immediately please

        Hello Friends

        P T 2 Replies Last reply
        0
        • L Laji59

          thanks Pete O'Hanlon but I don`t want to open a Doc file in Microsoft Word; I want to open a doc file in a viewer in my application help me immediately please

          Hello Friends

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          Laji59 wrote:

          help me immediately please

          That's not the way this site works. This is a volunteer site - we're not paid to help you, so you might want to moderate the tone you're using to demand answers. There are some commercial controls that will render text documents. You could probably use one of these.

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          P 1 Reply Last reply
          0
          • L Laji59

            thanks Pete O'Hanlon but I don`t want to open a Doc file in Microsoft Word; I want to open a doc file in a viewer in my application help me immediately please

            Hello Friends

            T Offline
            T Offline
            Thomas Stockwell
            wrote on last edited by
            #5

            You will have to either manually code an interpreter for both of the formats, or look into some third-party SDKs. fly2pdf[^] may help you with pdf display/manipulation/creation and VSTO may help with embedding[?] word documents in your application.

            Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog

            1 Reply Last reply
            0
            • L Laji59

              I want to open PDF File in my application I want to open Doc File in my application How can I do it

              Hello Friends

              G Offline
              G Offline
              Gulfraz Khan
              wrote on last edited by
              #6

              I think u can use a browser control in ur application and then navigate to the url of the file. I hope it helps.

              L 1 Reply Last reply
              0
              • P Pete OHanlon

                Laji59 wrote:

                help me immediately please

                That's not the way this site works. This is a volunteer site - we're not paid to help you, so you might want to moderate the tone you're using to demand answers. There are some commercial controls that will render text documents. You could probably use one of these.

                Deja View - the feeling that you've seen this post before.

                My blog | My articles

                P Offline
                P Offline
                Paul Conrad
                wrote on last edited by
                #7

                This is a border line repost from another thread on the subject the OP started earlier in this forum.

                "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                1 Reply Last reply
                0
                • G Gulfraz Khan

                  I think u can use a browser control in ur application and then navigate to the url of the file. I hope it helps.

                  L Offline
                  L Offline
                  Laji59
                  wrote on last edited by
                  #8

                  this is a good way but may be I don`t have PDF reader like acrobat reader installed on my computer

                  Hello Friends

                  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