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 / C++ / MFC
  4. How to run an exe on a web site

How to run an exe on a web site

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
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.
  • S Offline
    S Offline
    sirtimid
    wrote on last edited by
    #1

    I have an application and I would like to know if it is possible to run it remotely on the internet by pressing a link on a web site and if yes, how can I do that? Thanks in Advance sirtimid

    M 1 Reply Last reply
    0
    • S sirtimid

      I have an application and I would like to know if it is possible to run it remotely on the internet by pressing a link on a web site and if yes, how can I do that? Thanks in Advance sirtimid

      M Offline
      M Offline
      Manfred Staiger
      wrote on last edited by
      #2

      You can start an application on your webserver with a server-side script (ASP for example) MS

      S 1 Reply Last reply
      0
      • M Manfred Staiger

        You can start an application on your webserver with a server-side script (ASP for example) MS

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

        Thank you very much! If this is possible can you please give me some references on how to do that with ASP? If you have any link which there is an example it would be very helpfull! Thanks sirtimid

        M 1 Reply Last reply
        0
        • S sirtimid

          Thank you very much! If this is possible can you please give me some references on how to do that with ASP? If you have any link which there is an example it would be very helpfull! Thanks sirtimid

          M Offline
          M Offline
          Manfred Staiger
          wrote on last edited by
          #4

          With ASP the following script on your website should do the trick. <% @ Language="VBScript" %> <% Option Explicit %> Start an exe-file with ASP script <% dim wsh set wsh = Server.CreateObject("wscript.shell") wsh.Run("C:\Windows\Notepad.exe") set wsh = nothing %> ASP does only work with the Internet Information Server from MS (as far as I know). If you use another webserver you need another (server side) scripting language (PHP for example) Furthermore you need to set the file-permissions for access through the webserver in the correct way. Search Google for "ASP Tutorial" and you will find a lot. MS

          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