在主程序的帮助菜单项,如何使用户点击该菜单项,而打开帮助文件(.chm)

解决方案 »

  1.   

    可以用API或自己写个函数来实现
      

  2.   

    使用Shellapi单元
      ShellExecute(Handle,nil,PChar(ExtractFileDir(application.exename)+'\'+'Help.chm'),'','', SW_SHOW );
      

  3.   

    请问 czzczz(好想赚大钱!!!) 如何自己定函数?
      

  4.   

    procedure OpenFile(filename:pchar);
    begin
       shellexecute(0,'open',filename,nil,nil,sw_normal);
    end;
    OpenFile(Pchar(X.chm));应该可以解决呢
      

  5.   

    好像在工程设置里面有设定帮助文件的地方,改成你想要的文件名,试试。
    我手头没有delphi
      

  6.   

    http://community.csdn.net/Expert/topic/3092/3092328.xml?temp=.7717249