How to use C# to execute another program
-
How do I use C# to run another exe program? like in C we can use system function, is there something similar in C# ?? Thanks, Samuel
This question has been asked a number of times already, have you searched the forums? A quick google search for "C# run another program" reveals the info you need.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Roman Catholic Relevance? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
How do I use C# to run another exe program? like in C we can use system function, is there something similar in C# ?? Thanks, Samuel
Process.Start
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Process.Start
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Thanks
-
This question has been asked a number of times already, have you searched the forums? A quick google search for "C# run another program" reveals the info you need.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Roman Catholic Relevance? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
Would it have hurt you to have given an informative reply. For sure he could have googled it... you obviously did to know for sure that it was there... Could you not have at least put a link to the first result?
-
Would it have hurt you to have given an informative reply. For sure he could have googled it... you obviously did to know for sure that it was there... Could you not have at least put a link to the first result?
Catch a man a fish, you've fed him for a day. Teach a man to fish, you've fed him for life.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Roman Catholic Relevance? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Would it have hurt you to have given an informative reply. For sure he could have googled it... you obviously did to know for sure that it was there... Could you not have at least put a link to the first result?
He did give him the information he needed. He told the man who to find the information on his own. Judah didn't ahve to Google this to find out if there was any info on it out there. It's a question that's been asked and answered a couple of million times already! Like Judah said, answering a simple question directly only serves to answer that single question. Teaching him how to find his own answers answers many, many more questions than just the one.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
How do I use C# to run another exe program? like in C we can use system function, is there something similar in C# ?? Thanks, Samuel
-
Catch a man a fish, you've fed him for a day. Teach a man to fish, you've fed him for life.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Roman Catholic Relevance? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
Hear hear! :D -Larantz-
for those about to code, we salute you
http://www.itverket.no -
Catch a man a fish, you've fed him for a day. Teach a man to fish, you've fed him for life.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Roman Catholic Relevance? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
How to catch fish? Plz send codes.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"I haven't spoken to my wife now for 48 hours. I don't like to interrupt her.
-
Catch a man a fish, you've fed him for a day. Teach a man to fish, you've fed him for life.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Roman Catholic Relevance? The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Light a man a fire you've warmed him for a night. Light a man on fire you've warmed him for life.
-- If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.
Darn the luck. I was going to post a similar reply but then I thought maybe I shouldn't. You must be a sick individual, and yes it takes one to know one. BDF
-
How to catch fish? Plz send codes.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"I haven't spoken to my wife now for 48 hours. I don't like to interrupt her.
malcolm! this ur professor from university. i have a doubt on ur ethical sensual natures. u must no post my homowork on the cpiansex. i tell class u must no post fishing homoworks on the cians next time i bend u over bare buttocks and spank u in front of all classes to shame u. black grade for u this semester. CURSES OF DARK SHIVA ON U ETERNITY EVERLASTING!!!1! :((
Sincelery yours, Computer Information conSciences Professor and grader, Sharada Ulhas
-
Darn the luck. I was going to post a similar reply but then I thought maybe I shouldn't. You must be a sick individual, and yes it takes one to know one. BDF
-
How do I use C# to run another exe program? like in C we can use system function, is there something similar in C# ?? Thanks, Samuel
System.Diagnostics.Process.Start(/*url or file goes here*/)
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]