当我打开帮助(.CHM)应用程序时,我可以看到目录。默认情况下,选择了文件中的第一个条目,但是我看不到相应的页面数据。取而代之的是,我看到“此程序无法显示网页”(IE7中出现的默认错误消息)。仅当我单击左侧的任何内容时才显示该页面。

默认情况下是否有一种方法可以在不单击条目的情况下显示页面?

以下代码是.HHP文件。

[OPTIONS]
Compatibility = 1.1 or later
Compiled file=Config.chm
Contents file=Config.hhc
Default topic=D:\apps\bin\Debug\html\Databases.htm
Language=0x409 English (United States)
Display compile progress=No
Title=ETL_Config Documentation

[FILES]
D:\apps\bin\Debug\html\Databases.htm
D:\apps\bin\Debug\html\InstanceInformation.htm
有帮助吗?

解决方案

您的默认主题应引用CHN文件中的相对文件名,而不是CHM之外的文件。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top