两种办法

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

使用C#打开网址(IE) System.Diagnostics.Process.Start("http://www.baidu.com");


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

 
使用C#打开网址(IE) System.Diagnostics.Process.Start(@"C:\Program Files\Internet Explorer\IEXPLORE.EXE","http://www.baidu.com");
使用C#打开网址(IE) System.Diagnostics.Process.Start(@"C:\Program Files\Internet Explorer\IEXPLORE.EXE","http://www.baidu.com");

相关文章:

  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-07
  • 2022-12-23
  • 2022-01-01
  • 2021-12-25
  • 2022-12-23
相关资源
相似解决方案