C#做个小软件,菜单栏上面有个"帮助'菜单(帮助ToolStripMenuItem),下一级菜单有个"使用说明"按钮(使用说明ToolStripMenuItem),我想单击“使用说明”按钮,打开一个110.htm文件,代码该怎么写?

解决方案 »

  1.   

    你的意思是单独用另外一个程序打开110.htm还是就在程序中加载110.htm?
      

  2.   

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

  3.   

                System.Diagnostics.Process.Start("c:\\windows\\system32");
                System.Diagnostics.Process.Start("IEXPLORE.exe","www.126.com");
                //...
      

  4.   

    System.Diagnostics.Process.Start("c:\\windows\\system32"); 
                System.Diagnostics.Process.Start("IEXPLORE.exe","C:\\110.htm"); 
      

  5.   

    System.Diagnostics.Process.Start("IEXPLORE.exe",Application.StartUppath+"\\110.htm"); 
    string helpfile = “helpfile.chm”; 
    Help.ShowHelp(this, helpfile); Help.ShowHelpIndex(this, helpfile);