Problems encountered during CHM Help File Creation and Solutions

Source: Internet
Author: User

CHM tool: Microsoft HTML Help Workshop v1.3 English version

Problem 1: The default homepage cannot be displayed.
In Project-> change project options, after a .htm path is input in default files, the home page still cannot be displayed.

Solution:
Add shard path

Add it to its URL;
(2) Use relative paths. Copy the. htm to the same directory as. HHP or a folder in the same directory as. HHP.

Fill in the corresponding. hhp path of the. htm on the first page with default files. For example, my Sims. HHP is stored in C:/helpand the first page is .htm.

In the C:/help/Help Files folder, you only need to enter help files/homepage .htm to default files.
(3) Save and re-compile.

Problem 2: Images cannot be displayed in the CHM help file.

I wrote help documentation in wordfirst, and then saved the. DOC file as a webpage:
Execute: file-> Save As webpage. In the displayed "Save as" dialog box, there are three webpage formats: single file webpage (*. MHT; *. MHTML)

, Webpage (*. HTM; *. html), filtered webpage (*. HTM; *. html) I used to select the second one, but later I found a place with images.

It cannot be displayed. It is always displayed as a red cross.

Solution: Save the. Doc document as a webpage. In the displayed "Save as" dialog box, select "filtered webpage (*. HTM; *. html ).

The image is displayed normally. I think this is irrelevant to the image format. On the Internet, the chmhelp file cannot display .bmp. GIF format.

You can try it. We found that .jpg).bmp ).png).gif can be normally displayed.

For "filtered web pages (*. HTM; *. html )".

Question 3: When a page of the CHM help file is opened, an error similar to the following occurs:
"Cannot find 'H:/help/ ...htm '. Make sure that the path or Internet address is correct ."

After the chmhelper file is created, the notebook will be moved to another computer or the original .htm file will be moved to another place.

When you open the CHM help file, this error will pop up. I think it should be that the .htm file was not successfully compiled into the. chm help document.

It may be because the software is not successfully installed. This is the reason when I encounter this error. At the beginning of installation, it is a. dll.

I couldn't find it, but I found that HTML Help Workshop can still be used. This error occurs. That's it.

Therefore, the chmhelper file and the original. htm file exist at the same time, and the path and compile time remain unchanged. The CHM help document is not

Can exist as an independent document.

Solution: An error occurs when installing HTML Help Workshop on Windows Server 2003 (Other CHM tools such as Su
Or perchm ). I had to re-install it in the XP of the virtual machine, and finally prompted that the installation was successful, and it could be used normally.

And the CHM help document can be used as an independent document.

Problem 4: The created CHM help document cannot display webpages

The created CHM help file cannot contain the # directory, because the # directory is regarded as a bookmarkdonefile. This semester I made a C # Database Application

. When you copy the created CHM help file to a directory (Debug) with the C # character, all. Htm cannot be displayed. On

The created drive C and the desktop can be opened normally, that is, when the drive C is opened under that directory, the webpage cannot be displayed. I feel that there is a problem with the path name.

Check the special characters one by one, including ".","(",")","#","&". I found that only when a folder

The CHM help file cannot be displayed. Later, the problem was fixed here. It turns out that "#" cannot appear in the CHM path

Otherwise, it will be regarded as a bookmarks.

Solution: Change the path with the # symbol in the CHM help document to a path without the # symbol

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.