System.Diagnostics.Process.Start("http://www.zealot.name");

解决方案 »

  1.   

    System.Diagnostics.Process.Start("iexplore.exe");
      

  2.   

    System.Diagnostics.Process.Start("iexplore.exe http://www.zealot.name");
      

  3.   

    打开本地文件
    System.Diagnostics.Process.Start("aa.htm");
      

  4.   

    或者用ActiveX控件WebBrowser
    http://www.cnblogs.com/flier/archive/2004/07/08/22264.aspxhttp://www.mscenter.edu.cn/laputa/article/2003-11/0/13/2599.xml
      

  5.   

    如果指定用IE打开一个www网页就是
    System.Diagnostics.Process.Start("iexplore.exe", "http://www.zealot.name");
    如果指定用IE打开一个本地网页就是
    System.Diagnostics.Process.Start("iexplore.exe","c:\\aa.htm");用默认浏览器打开一个本地网页就是
    System.Diagnostics.Process.Start("c:\\aa.htm");
      

  6.   

    Dugu_Niu(有痔青年)  写的不错
      

  7.   

    多谢各位指点。
    我是不是要把我生成HTML写到本地文件中
    然后在打开?
    System.Diagnostics.Process.Start("c:\\aa.htm");