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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to open word doc from aspx page

How to open word doc from aspx page

Scheduled Pinned Locked Moved ASP.NET
helptutorial
2 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.
  • I Offline
    I Offline
    irshu
    wrote on last edited by
    #1

    can any body help in opening a word doc from aspx page. i tried with the following code its not working Dim myproc As System.Diagnostics.Process myproc = New System.Diagnostics.Process() myproc.Start("winword") How to open word doc from aspx page

    J 1 Reply Last reply
    0
    • I irshu

      can any body help in opening a word doc from aspx page. i tried with the following code its not working Dim myproc As System.Diagnostics.Process myproc = New System.Diagnostics.Process() myproc.Start("winword") How to open word doc from aspx page

      J Offline
      J Offline
      Javier Lozano
      wrote on last edited by
      #2

      By doing,

      Dim myproc As System.Diagnostics.Process
      myproc = New System.Diagnostics.Process()
      myproc.Start("winword")

      from an ASPX page, this causes the process to run on the server, not the client thus why it does not work. If you don't mind me asking, why do you need to open a Word doc from an ASPX page? (I've done this before but it scoped out because of all the security issues it had). If you give me more information, I can help you with an answer. ~javier lozano (blog || email)

      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