使用winform程序调用chm文件不成功。
我用的方法是 
string helpfile = "人生叙谈.chm";
Help.ShowHelpIndex (this, helpfile);

解决方案 »

  1.   

    //这样就可以了
    System.Diagnostics.Process.Start("xxxx.chm");
      

  2.   

    string helpfile = "helpfile.chm”;   
    Help.ShowHelp(this, helpfile);   
    显示指定帮助文件的索引。   
    Help.ShowHelpIndex(this, helpfile);  ]System.Diagnostics.Process.Start(System.IO.Path.GetDirectoryName(Environment.GetCommandLineArgs()[0]) + "\\helpfile.chm");
    检查路径
      

  3.   

     ShowHelpIndex和ShowHelp中参数的路径是全路径才行,
    Help.ShowHelp(this, "file://c:\\charmap.chm");  //格式
      

  4.   

    System.Diagnostics.Process.Start("xxxx.chm");要注意路径是否正确。
      

  5.   

    Process.Start(@"C:\windows\Help\iexplore.chm");