开发者

How to set the default page for a .CHM file in HTML Help Workshop?

When I open the h开发者_JS百科elp (.chm) application, I could see table of contents. By default, the first entry in the file is selected, however I couldn't see the corresponding page data. Instead, I see "This program cannot display the web page" (the default error message that comes in IE7).The page is displayed only when I click on any of the contents on the left side.

Is there a way of showing the page by default without clicking on the entry?

The following code is the .hhp file.

[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


Your default topic should reference a relative file name inside the .CHM file, not a file outside of the .CHM.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜