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. Web Development
  3. ASP.NET
  4. Reading a .Doc File

Reading a .Doc File

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
5 Posts 4 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
    Sathiyaraj Ganesan
    wrote on last edited by
    #1

    i used StreamReader to read a txt file. Same,i want to read a .DOC file from ASP.NET. can anyone help me in this.

    Sathiyaraj Ganesan

    N S 2 Replies Last reply
    0
    • S Sathiyaraj Ganesan

      i used StreamReader to read a txt file. Same,i want to read a .DOC file from ASP.NET. can anyone help me in this.

      Sathiyaraj Ganesan

      N Offline
      N Offline
      Navi15
      wrote on last edited by
      #2

      use Microsoft Word Object Library to read and write Word documents Navi

      S 1 Reply Last reply
      0
      • N Navi15

        use Microsoft Word Object Library to read and write Word documents Navi

        S Offline
        S Offline
        Sathiyaraj Ganesan
        wrote on last edited by
        #3

        is it possible to use Microsoft Word Object Library in Web Application

        Sathiyaraj Ganesan

        _ 1 Reply Last reply
        0
        • S Sathiyaraj Ganesan

          is it possible to use Microsoft Word Object Library in Web Application

          Sathiyaraj Ganesan

          _ Offline
          _ Offline
          _AK_
          wrote on last edited by
          #4

          I think yes it can be used. You can take help from this article: http://www.codeproject.com/aspnet/wordapplication.asp[^]

          Best Regards, Apurva Kaushal

          1 Reply Last reply
          0
          • S Sathiyaraj Ganesan

            i used StreamReader to read a txt file. Same,i want to read a .DOC file from ASP.NET. can anyone help me in this.

            Sathiyaraj Ganesan

            S Offline
            S Offline
            Suresh Pirsquare
            wrote on last edited by
            #5

            Try this Dim Fname As String = "D:\R&D\Notes.doc" Response.ClearContent() Response.ClearHeaders() Response.ContentType = "application/msword" Response.WriteFile(Fname) Response.Flush() Response.Close() Thanks & regards, Suresh Dayma -- modified at 8:59 Saturday 2nd September, 2006

            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