Freetutes.com

VB6 beginners tutorial - Learn VB6

Advanced VB6 tutorial - Learn Advanced VB6

Systems Analysis - System analysis and Design tutorial for Software Engineering


You are here: Visual Basic > Advanced VB6 tutorial > Chapter 7

The HTML Project Header File

The HTML Project Header file (*.hhp) is a text file divided into sections. Each section is headed by its title that is enclosed in square brackets. Listing 7.1 shows an example of an HTML Project Header file, while Figure 7.14 shows what the same file looks like when viewed in the HTML Help Workshop.

LISTING 7.1
CONTENTS OF A SAMPLE HTML PROJECT HEADER FILE [OPTIONS]

Compatibility=1.1
Compiled file=HR.chm
Display compile progress=No
Language=0x409 English (United States)

[FILES]
html\Gender.htm
html\maritalstatus.htm
html\Medicalinsurancestatus.htm

[ALIAS]
IDH_GENDER=html\Gender.htm
IDH_MARITALSTATUS=html\Gender.htm
IDH_MEDICALINSURANCE=html\Gender.htm

[MAP]
#include HR.h

[TEXT POPUPS]
CSHelp.h
CSHelp.txt

The HTML Help Workshop with a full-featured Help project loaded.
FIGURE 7.14. The HTML Help Workshop with a full-featured Help project loaded.

The [OPTIONS] section gives general project information, including the name of the compiled HTML Help file, the name of the files for the Contents and Index, the default HTML topic file contents to display if the Help file is called without a ContextID, and the language in which to display prompts and captions. You can manipulate the project's [OPTIONS] from within the HTML Help Workshop by clicking the Change Project Options icon (the topmost Toolbar button on the vertical toolbar along the left of the HTML Workshop's main screen) and filling in the appropriate information in the resulting Options tabbed dialog box, as shown in Figure 7.15.

The HTML Help Workshop's Options tabbed dialog box.
FIGURE 7.15 The HTML Help Workshop's Options tabbed dialog box.

The other *.hhp file sections (explained more at length under the sections in this chapter entitled "HTML Help source files for Extensive Help" and "HTML Help source files for WhatsThisHelp") include lists of different types of files that contain the actual Help information to be shown by the system.


  

<< Previous | Contents | Next >>

Home | About Us | Privacy Policy | Contact Us

Copyright © Freetutes.com | All Rights Reserved