Possible Duplicate:
Embedding an external executable inside a C# program
I create project "MyProj" and add to resource program "This.exe"...
How could I start "this.exe" in "MyProj.exe"?
Thanks for any ideas.
Possible Duplicate:
Embedding an external executable inside a C# program
I create project "MyProj" and add to resource program "This.exe"...
How could I start "this.exe" in "MyProj.exe"?
Thanks for any ideas.
Once you added the .exe to your project, got to the properties window then change the Build action
to Content
and Copy to output directory
to Always Copy
or Copy if newer
To run the Application use :
Process.Start("This.exe");
Press F5 or go to Debug -> Start Debugging
(this is the same as hitting the Play
button).
If you don't want debugging then press Ctrl + F5 or go to Debug -> Start without debugging
.
EDIT: After the author's edit I think this is the answer: Launching an application (.EXE) from C#?