星期一, 9月 18, 2006

To run an *.exe command in windows forms when designing a Gui.

Hiw to run an *.exe command in windows forms when designing a Gui

Search: | Post New Topic | Post A Reply |

Replies: 1 Pages: 1
Unread Author Topic: Hiw to run an *.exe command in windows forms when designing a Gui

Guest Hiw to run an *.exe command in windows forms when designing a Gui
posted 9/15/2006 02:01 PM EDT reply
Hi
I am designing a gui that makes it easier for the user to run a few commands from the command window. the user enters the 2 inputs to the windows form and press a button.
I am coding in C++, How can i run an exe file that uses the 2 inputs from the user from windows form?

Guest Re: Hiw to run an *.exe command in windows forms when designing a Gui
posted 9/15/2006 05:47 PM EDT reply
A lot of ways you can use:

1)ShellExecuteEx();
2) ShellExecute();
3) spawnl();
4) CreateProcess();

沒有留言: