在Windows窗体中运行另一个应用程序

问题描述:

正在创建一个Windows窗体,称之为测试,确定该程序应该在其中运行firefox浏览器,我将如何实现这一目标?有搜索全网但没有解决方法,谢谢!在Windows窗体中运行另一个应用程序

+2

'Process.Start(firefox.exe)' – Sayse 2013-04-03 21:43:52

+1

关于在您的窗体中使用FireFox浏览器,有很多其他文章 - http://*.com/questions/790542/replacing-net-webbrowser - 控制与更好的浏览器像镀铬http://*.com/questions/1512284/alternative-to-webbrowser-control和http://*.com/questions/12083146/embedding-firefox-成-一个净控制 – Reddog 2013-04-04 02:14:37

我不认为你可以运行形式的应用程序中,但你可以通过这样启动的应用程序:

Process.Start("<insert file name and path>") 

没有办法实现Firefox的运行作为你的窗口的一部分。您可以使用Process.Start。或者你可以利用浏览器元素,这将是IE窗口。