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 run an .exe from asp.net page

How to run an .exe from asp.net page

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorial
7 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.
  • A Offline
    A Offline
    Anjani Poornima
    wrote on last edited by
    #1

    I am new to this .net world. I like to know how we can run .exe files with asp.net page plz help me......... :)

    M A 2 Replies Last reply
    0
    • A Anjani Poornima

      I am new to this .net world. I like to know how we can run .exe files with asp.net page plz help me......... :)

      M Offline
      M Offline
      Murugesan G
      wrote on last edited by
      #2

      Just for performing background operations u can use it since server side process are not visible to end users MSDN[^]

      1 Reply Last reply
      0
      • A Anjani Poornima

        I am new to this .net world. I like to know how we can run .exe files with asp.net page plz help me......... :)

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        Anjani Poornima wrote:

        I am new to this .net world. I like to know how we can run .exe files with asp.net page

        Asp.Net does not build for that. if you use process start exe it will start in Server not in client side. If you want to really do that, use ActivX and It will work only in IE.

        cheers, Abhijit CodeProject MVP

        A 1 Reply Last reply
        0
        • A Abhijit Jana

          Anjani Poornima wrote:

          I am new to this .net world. I like to know how we can run .exe files with asp.net page

          Asp.Net does not build for that. if you use process start exe it will start in Server not in client side. If you want to really do that, use ActivX and It will work only in IE.

          cheers, Abhijit CodeProject MVP

          A Offline
          A Offline
          Anjani Poornima
          wrote on last edited by
          #4

          Thank you..... I tried using system.diagoistics.process.start(".exe"); But it just works in the development side not the webserver. that means. when I click run in the VS.net, it can open a .exe . when i publish it to our web server. I just can see the .exe running under the task manager in the server side, but I can not see any .exe any input will be greatly appreciated.

          A 1 Reply Last reply
          0
          • A Anjani Poornima

            Thank you..... I tried using system.diagoistics.process.start(".exe"); But it just works in the development side not the webserver. that means. when I click run in the VS.net, it can open a .exe . when i publish it to our web server. I just can see the .exe running under the task manager in the server side, but I can not see any .exe any input will be greatly appreciated.

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #5

            Anjani Poornima wrote:

            I tried using system.diagoistics.process.start(".exe"); But it just works in the development side not the webserver. that means. when I click run in the VS.net, it can open a .exe . when i publish it to our web server. I just can see the .exe running under the task manager in the server side, but I can not see any .exe any input will be greatly appreciated.

            As, I have already told you, Process.Start will execute process in Server not in Client. So This will not do the job for you. First of all think why you need to execute the exe in Asp.net? Any alternative option to solve this. If you need it then Go for ActiveX control and I have already suggested you it will work only in IE.

            cheers, Abhijit CodeProject MVP

            S 1 Reply Last reply
            0
            • A Abhijit Jana

              Anjani Poornima wrote:

              I tried using system.diagoistics.process.start(".exe"); But it just works in the development side not the webserver. that means. when I click run in the VS.net, it can open a .exe . when i publish it to our web server. I just can see the .exe running under the task manager in the server side, but I can not see any .exe any input will be greatly appreciated.

              As, I have already told you, Process.Start will execute process in Server not in Client. So This will not do the job for you. First of all think why you need to execute the exe in Asp.net? Any alternative option to solve this. If you need it then Go for ActiveX control and I have already suggested you it will work only in IE.

              cheers, Abhijit CodeProject MVP

              S Offline
              S Offline
              Sreekumar P P
              wrote on last edited by
              #6

              --

              A 1 Reply Last reply
              0
              • S Sreekumar P P

                --

                A Offline
                A Offline
                Abhijit Jana
                wrote on last edited by
                #7

                Sreekumar P P wrote:

                Forum: ASP.NET Subject: Re: How to run an .exe from asp.net page Sender: Sreekumar P P Date: Wednesday, April 29, 2009 7:01 PM --

                What was that ? :)

                cheers, Abhijit CodeProject MVP

                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