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#
  4. [Message Deleted]

[Message Deleted]

Scheduled Pinned Locked Moved C#
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
    albCode
    wrote on last edited by
    #1

    [Message Deleted]

    D 1 Reply Last reply
    0
    • A albCode

      [Message Deleted]

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      On the client side? You can't. The client machine is off limits to code running inside a browser session. ASP.NET apps don't have any access to the client machine at all. On the server side, you can just use the Process class. Although, running an .EXE from a web request isn't a good idea. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      A 1 Reply Last reply
      0
      • D Dave Kreskowiak

        On the client side? You can't. The client machine is off limits to code running inside a browser session. ASP.NET apps don't have any access to the client machine at all. On the server side, you can just use the Process class. Although, running an .EXE from a web request isn't a good idea. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        A Offline
        A Offline
        albCode
        wrote on last edited by
        #3

        I need to run one exe file from web application and what u suggest me? is any better way to run exe file from webapp.?

        A D 2 Replies Last reply
        0
        • A albCode

          I need to run one exe file from web application and what u suggest me? is any better way to run exe file from webapp.?

          A Offline
          A Offline
          Alvaro Mendez
          wrote on last edited by
          #4

          FlushCode wrote:

          is any better way to run exe file from webapp.?

          No, he gave you the solution.


          ... now you see that evil will always triumph, because good is dumb. - Dark Helmet

          1 Reply Last reply
          0
          • A albCode

            I need to run one exe file from web application and what u suggest me? is any better way to run exe file from webapp.?

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            Better way??? You weren't listening were you? There is NO way. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            J 1 Reply Last reply
            0
            • D Dave Kreskowiak

              Better way??? You weren't listening were you? There is NO way. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

              J Offline
              J Offline
              Judah Gabriel Himango
              wrote on last edited by
              #6

              Well, he *could* use an ActiveX control (ugh) if he wants to run software on the client end. Also, you can use .NET assemblies embedded inside web pages as well, however, thanks to .NET's Code Access Security, he wouldn't be able to launch some arbitrary application.

              D 1 Reply Last reply
              0
              • J Judah Gabriel Himango

                Well, he *could* use an ActiveX control (ugh) if he wants to run software on the client end. Also, you can use .NET assemblies embedded inside web pages as well, however, thanks to .NET's Code Access Security, he wouldn't be able to launch some arbitrary application.

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                Judah Himango wrote:

                thanks to .NET's Code Access Security, he wouldn't be able to launch some arbitrary application.

                Yep! :laugh: RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

                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