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 word file from a web

Open a word file from a web

Scheduled Pinned Locked Moved C#
help
4 Posts 2 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.
  • A Offline
    A Offline
    arslanjatt
    wrote on last edited by
    #1

    Hi, I've tried to open a file that is placed in a folder of web application in a editor that is made using windows application. Let us suppose i have a folder in http://localhost/MySite/MyFolder/doc.doc. Now what i need to do i want to open this file in that editor. I also want to display the file names of MyFolder. Please help me out and let me know is there any way to do so. It will be very nice of you. Arslan Ilyas Red Signal

    V 1 Reply Last reply
    0
    • A arslanjatt

      Hi, I've tried to open a file that is placed in a folder of web application in a editor that is made using windows application. Let us suppose i have a folder in http://localhost/MySite/MyFolder/doc.doc. Now what i need to do i want to open this file in that editor. I also want to display the file names of MyFolder. Please help me out and let me know is there any way to do so. It will be very nice of you. Arslan Ilyas Red Signal

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      arslanjatt wrote:

      a file that is placed in a folder of web application

      How about a HttpWebRequest?

      Vasudevan Deepak Kumar Personal Homepage
      Tech Gossips
      A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

      A 1 Reply Last reply
      0
      • V Vasudevan Deepak Kumar

        arslanjatt wrote:

        a file that is placed in a folder of web application

        How about a HttpWebRequest?

        Vasudevan Deepak Kumar Personal Homepage
        Tech Gossips
        A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

        A Offline
        A Offline
        arslanjatt
        wrote on last edited by
        #3

        I've tried this one but by using this i can read the contents of page. But i want to open a word file. It only read the html of that page. I've tried this one. Is there anything else? Thank you any ways

        V 1 Reply Last reply
        0
        • A arslanjatt

          I've tried this one but by using this i can read the contents of page. But i want to open a word file. It only read the html of that page. I've tried this one. Is there anything else? Thank you any ways

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          arslanjatt wrote:

          It only read the html of that page.

          It supports binary files too. Check out http://odetocode.com/Blogs/scott/archive/2004/10/04/526.aspx[^]

          Vasudevan Deepak Kumar Personal Homepage
          Tech Gossips
          A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

          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