K
kunshuhu
Unregistered / Unconfirmed
GUEST, unregistred user!
string CurrDir=System.IO.Directory.GetCurrentDirectory()+"//HelpTest.chm";
HelpNavigator MyNavigator = HelpNavigator.TableOfContents;
Help.ShowHelp(this,CurrDir, MyNavigator,"TableOfContents");
为什么不能打开帮助文件HelpTest.chm????
而改成以下代码则可以
string CurrDir="HelpTest.chm";
HelpNavigator MyNavigator = HelpNavigator.TableOfContents;
Help.ShowHelp(this,CurrDir, MyNavigator,"TableOfContents");
但是帮助文件HelpTest.chm必须放在c:/windows/help目录下.
而我想打开放在任何目录下的帮助文件
HelpNavigator MyNavigator = HelpNavigator.TableOfContents;
Help.ShowHelp(this,CurrDir, MyNavigator,"TableOfContents");
为什么不能打开帮助文件HelpTest.chm????
而改成以下代码则可以
string CurrDir="HelpTest.chm";
HelpNavigator MyNavigator = HelpNavigator.TableOfContents;
Help.ShowHelp(this,CurrDir, MyNavigator,"TableOfContents");
但是帮助文件HelpTest.chm必须放在c:/windows/help目录下.
而我想打开放在任何目录下的帮助文件