Computer Hope
Software => Computer programming => Topic started by: DaveLembke on December 13, 2008, 07:37:55 PM
-
Hello,
I am trying to get my C# Windows Application coded in C# 2008 edition to run an EXE compiled in Visual C++ 6.0. Trying to figure out the code required at my Button on the form to execute the single EXE program outside of the C# program. I am guessing that there is a command like system("program.exe"); in C++ that can be executed in C# to execute the EXE.
Any suggestions and code snippets to show function at button click in Visual C# for C# Windows Application greatly appreciated.
Thanks!
-
not to keen myself as far as .NET, but I believe there is a "Process" object you need to create, or something along those lines.
-
Thanks for your input on this... I will google C# Process Object and see if that brings me someplace closer to a solution. Almost thinking that I should just use Visual C++ instead of C# for the matter that I could compile my existing program and the nice GUI into one application. Many have suggested C# are being very good for rolling out Windows Apps. I am thinking that VB6 was even easier than this..ha ha
Thanks