Creating HTML Help

Index Files

The index files allow you to create a list of keywords, so that when a user clicks a keyword, the appropriate topic is displayed. Here is an example:

First, click New on the File Menu, and select Index tab. A dialog will be displayed asking if you want to create a new one, select that 'Create a new Index file' and click OK. Save the file as Index.hhk in the rootdirectory. If you wish, you can click the properties button , and change the font that is used. 

To create a keyword, click the new keyword button . Enter the keyword, and then click add to assign the related file to it.

If you add more than one file, then a dialog like this will appear when the user clicks on it:

Now, go back to the project tab, and click the Window properties again. Go to the Files tab, and set Index to Index.hhk (or whatever you saved the index file as). Save your project, and compile! You have now got a fully featured HTML Help File. However, obviously, you will need to actually create some true topics, then assign keywords, and create a contents structure.

You might also like...

Comments

About the author

James Crowley

James Crowley United Kingdom

James first started this website when learning Visual Basic back in 1999 whilst studying his GCSEs. The site grew steadily over the years while being run as a hobby - to a regular monthly audien...

Interested in writing for us? Find out more.

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There are 10 types of people in the world, those who can read binary, and those who can't.”