Winform中打开应用程序

下面我以打开IE为例

 

 引入命名空间

using System.Diagnostics;

 具体方法

Process ieProcess = new Process();
ieProcess.StartInfo.FileName 
= "iexplore.exe";//可以更换为其他应用程序的执行文件
ieProcess.StartInfo.Arguments = "...URL...";
ieProcess.Start();


 

 

posted @ 2009-12-19 17:53  吴庆阳  阅读(432)  评论(0编辑  收藏  举报