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. how to open word document in asp.net??

how to open word document in asp.net??

Scheduled Pinned Locked Moved ASP.NET
tutorialcsharpasp-netdatabasequestion
6 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.
  • J Offline
    J Offline
    JC KaNNaN
    wrote on last edited by
    #1

    hi, how to open word document in asp.net?? for example when i trigger in button its showing word application. it is possible ???...

    Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

    V S H 3 Replies Last reply
    0
    • J JC KaNNaN

      hi, how to open word document in asp.net?? for example when i trigger in button its showing word application. it is possible ???...

      Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

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

      Check this out: http://bytes.com/topic/asp-net/answers/520496-how-open-word-document-asp-net-c[^]

      Vasudevan Deepak Kumar Personal Homepage
      Tech Gossips
      The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

      1 Reply Last reply
      0
      • J JC KaNNaN

        hi, how to open word document in asp.net?? for example when i trigger in button its showing word application. it is possible ???...

        Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

        S Offline
        S Offline
        sashidhar
        wrote on last edited by
        #3

        As Far as my understanding..! You want to display the word document in your application..! is it right? If yes..! Copy and paste the word document in the server.Map Path give the link to the word doc..! If the MS Office Is installed in your System..! It will show the word doc..!

        LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

        J 1 Reply Last reply
        0
        • S sashidhar

          As Far as my understanding..! You want to display the word document in your application..! is it right? If yes..! Copy and paste the word document in the server.Map Path give the link to the word doc..! If the MS Office Is installed in your System..! It will show the word doc..!

          LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

          J Offline
          J Offline
          JC KaNNaN
          wrote on last edited by
          #4

          thanks for valuable reply.... i got solution for this...

          Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

          S 1 Reply Last reply
          0
          • J JC KaNNaN

            hi, how to open word document in asp.net?? for example when i trigger in button its showing word application. it is possible ???...

            Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

            H Offline
            H Offline
            HimaBindu Vejella
            wrote on last edited by
            #5

            if( Request.QueryString["strFile"] != null ) { string strFilePath1=""; string strFileName = Request.QueryString["strFile"].ToString(); strFilePath1=Request.PhysicalApplicationPath+"/BackOffice/Catalogue/UploadFiles/"+strFileName; if(strFileName!="") { Response.ContentType=strFilePath1; Response.AddHeader("content-disposition", "attachment;filename="+strFileName); Response.WriteFile(strFilePath1); } } http://himabinduvejella.blogspot.com

            "If you can dream IT, you can become IT"

            1 Reply Last reply
            0
            • J JC KaNNaN

              thanks for valuable reply.... i got solution for this...

              Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

              S Offline
              S Offline
              sashidhar
              wrote on last edited by
              #6

              KaNNaN.JC wrote:

              i got solution for this

              Y dont u share with all may be it will helpful to others..!

              LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

              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