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. Running application with command line arguments from IE

Running application with command line arguments from IE

Scheduled Pinned Locked Moved Web Development
csharpvisual-studiodebugginghelp
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.
  • M Offline
    M Offline
    Mohammad A Gdeisat
    wrote on last edited by
    #1

    Hi everybody I am trying to create a hyperlink that is used to run a local application and passes some arguments, however, IE always complains that it did not find the requested file and this seems to be because it does not distinguish between the filename and the arguments. here is my hyperlink: <a href='file:///C:/Users/Mohammad/Documents/Visual Studio 2005/Projects/SpeakingExam/SpeakingExam/bin/Debug/SpeakingExam.exe SID=167 EID=335'>Take Eaxam</a> If I do not supply any parameters the program runs fine, but I am having a trouble running it with parameters. Thanks for the help

    And ever has it been that love knows not its own depth until the hour of separation Mohammad Gdeisat

    R 1 Reply Last reply
    0
    • M Mohammad A Gdeisat

      Hi everybody I am trying to create a hyperlink that is used to run a local application and passes some arguments, however, IE always complains that it did not find the requested file and this seems to be because it does not distinguish between the filename and the arguments. here is my hyperlink: <a href='file:///C:/Users/Mohammad/Documents/Visual Studio 2005/Projects/SpeakingExam/SpeakingExam/bin/Debug/SpeakingExam.exe SID=167 EID=335'>Take Eaxam</a> If I do not supply any parameters the program runs fine, but I am having a trouble running it with parameters. Thanks for the help

      And ever has it been that love knows not its own depth until the hour of separation Mohammad Gdeisat

      R Offline
      R Offline
      RCoate
      wrote on last edited by
      #2

      I have not done this from a web app, but you can use the ProcessStartInfo class and the Process class in code behind to open local processes (and send it command args). Have a look at ProcessStartInfo[^] on MSDN.

      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