|
-
March 17th, 2005, 05:42 AM
#1
How to execute other Aplication?
Hi all,
In C++ I can execute a aplication with argument by : ::WinExec("A.exe "+ strArgument, SW_SHOW);
but I don't know in C#. Please help me!
Waiting for your help! Thanks
Thao Pham
-
March 17th, 2005, 06:06 AM
#2
Re: How to execute other Aplication?
Useful? Then click on (Rate This Post) at the top of this post.
-
March 18th, 2005, 03:06 AM
#3
Re: How to execute other Aplication?
To start a process using command line parameters, You can use Process.Start's overloaded method that takes ProcessStartInfo class's instance, or the one that takes two parameters one is the filePath and second, the command lind arguments. Please have a look at MSDN for Process.Start method.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|