Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / July 2007

Tip: Looking for answers? Try searching our database.

system(), Shell, ShellExecute Replacement?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonathan Wood - 16 Jul 2007 16:18 GMT
Okay, I give up. What is the .NET way to do what ShellExecute does?

Bonus points: Any tips on how I should've been able to figure this out on my
own. I looked and looked!

Signature

Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

Ignacio Machin ( .NET/ C# MVP ) - 16 Jul 2007 16:27 GMT
Hi,

> Okay, I give up. What is the .NET way to do what ShellExecute does?

Process.Start

google: execute program C#
Jonathan Wood - 16 Jul 2007 19:26 GMT
Thanks. Guess I was trying to depend on MSDN and the online help. Silly me.
I'll try Google from now on.

Signature

Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

> Hi,
>
[quoted text clipped - 3 lines]
>
> google: execute program C#
Ben Voigt [C++ MVP] - 16 Jul 2007 23:48 GMT
> Thanks. Guess I was trying to depend on MSDN and the online help. Silly
> me. I'll try Google from now on.

Or on http://www.pinvoke.net/default.aspx/shell32/ShellExecute.html

The section saying "Alternative Managed API"

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.