Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
See more:
Hi All,

None of my books on C# handle it. MSDN does not seem to mention ShellExecute in C#. Searching the answers section did not give me the answer I am looking for, can't find an article that gets one started with using it in C#. I have also tried googling the question, without success.

Calling for help after typing ShellExecute does not work because I have obviously left out a using clause, but nowhere can I find out what it is.

Please help.

Thanks in Advance.
Posted
Updated 31-Mar-17 23:46pm
v2

Why would you use ShellExecute when there's a perfectly good alternative in the .NET Framework, using the Process[^] and ProcessStartInfo[^] classes?
 
Share this answer
 
Did you have a look at this link[^]? Seems comprehensive.
 
Share this answer
 
Winexec and ShellExecute are much more faster than ProcessStartInfo!!
 
Share this answer
 
Comments
Graeme_Grant 1-Apr-17 7:01am    
Any reason why you are answering a 6-year-old question????
Kats2512 3-Apr-17 4:51am    
been seeing quite a few old threads being opened again. no idea why people do this

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900