CreateProcess API for C# .NET?
-
Is there an API for the Win32 CreateProcess interface with all functionality available in C#/.NET? I'm seeking for an example and would be very grateful for one.
You're either going to use the Process class in the System.Diagnostics namespace or you can P/Invoke the CreateProcess function yourself. Go to http://www.pinvoke.net[^] for details.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
You're either going to use the Process class in the System.Diagnostics namespace or you can P/Invoke the CreateProcess function yourself. Go to http://www.pinvoke.net[^] for details.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...Have a try: using system.diagnostics; process.start("excel.exe");
April Comm100 - Leading Live Chat Software Provider
-
Have a try: using system.diagnostics; process.start("excel.exe");
April Comm100 - Leading Live Chat Software Provider
...and you're telling me the blatenly obvious, why....?? You might want to reply to the original poster and not me. That way, HE gets the email notification that you replied.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...