Re: Run an .exe
From: mg (mg_at_discussions.microsoft.com)
Date: 11/03/04
- Next message: Anders Borum: "Re: Getting more skilled on C#"
- Previous message: Stoitcho Goutsev \(100\) [C# MVP]: "Re: creating a form that will display all the properties of an object"
- In reply to: Jon Skeet [C# MVP]: "Re: Run an .exe"
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: Run an .exe"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: Run an .exe"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Nov 2004 10:19:05 -0800
I put
System.Diagnostics.Process.Start("C:\\WINDOWS\\system32\\notepad.exe");
in Page_Load but notepad did not run. What did I do wrong?
"Jon Skeet [C# MVP]" wrote:
> mg <mg@discussions.microsoft.com> wrote:
> > How can I run an .exe using C# from within the code behind of a WebForm app?
>
> Where do you want to run the .exe? On the client, or the server? You
> won't be able to do it on the client. To do it on the server, use
> Process.Start.
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too
>
- Next message: Anders Borum: "Re: Getting more skilled on C#"
- Previous message: Stoitcho Goutsev \(100\) [C# MVP]: "Re: creating a form that will display all the properties of an object"
- In reply to: Jon Skeet [C# MVP]: "Re: Run an .exe"
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: Run an .exe"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: Run an .exe"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|