使用C#打开网址(IE)

两种办法

第一种,直接打入网址用默认程序打开

 System.Diagnostics.Process.Start("http://www.baidu.com");


第二种,使用指定程序并传入参数后打开

 
 System.Diagnostics.Process.Start(@"C:\Program Files\Internet Explorer\IEXPLORE.EXE","http://www.baidu.com");
posted @ 2013-05-22 12:38  zagelover  阅读(356)  评论(0编辑  收藏  举报