Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Launching another application from C#

Tags:

c#

winforms

I'm trying to launch another application from C# application, is there a way to display this application inside the mainform of my application?

Thanks,

like image 499
Michael Avatar asked Dec 28 '22 19:12

Michael


1 Answers

You can start other applications using Process.Start(...):

Process.Start(@"C:\Path\OtherApp.exe");

To embed the application within your form, check out this CodeProject article that demos a technique for hosting other application's windows within your form.

like image 87
Simon P Stevens Avatar answered Dec 31 '22 13:12

Simon P Stevens