Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

html help workshop issues...

Status
Not open for further replies.

treyball3

Programmer
Jun 20, 2001
74
US
I'm trying to create help files using HTML Help Workshop: 4.74.8702.0. I've created my alias.h and map.h files and my html files. I've also linked them to certain textboxes on my VB form.

alias.h
----------
CNum_Help = Helpfiles\clientinfo.htm#clientnumber;
FName_Help = Helpfiles\clientinfo.htm#firstname;
MName_Help = Helpfiles\clientinfo.htm#middlename;
LName_Help = Helpfiles\clientinfo.htm#lastname;
Add1_Help = Helpfiles\clientinfo.htm#address;
-----------

map.h
-----------
#define CNum_Help 1001
#define FName_Help 2001
#define MName_Help 3001
#define LName_Help 4001
#define Add1_Help 5001
-----------

relevant html:
Code:
<tr>
	<a name="#ClientNumber"></a>
	<td width=100>		
		<font size=-1>Client Number</font>
	</td>
	<td width=300>
		<font size=-1>A number used for internal referencing/filing of clients.</font>
	</td>
	<td width=100>
		<font size=-1>No</font>
	</td>
	</tr>
	<tr>
	<a name="#FirstName"></a>
	<td width=100>		
		<font size=-1>First Name</font>
	</td>
	<td width=300>
		<font size=-1>The client's first name.</font>
	</td>
	<td width=100>
		<font size=-1>Yes</font>
	</td>
	</tr>
	<tr>
	<a name="#MiddleName"></a>
	<td width=100>		
		<font size=-1>Middle Name</font>
	</td>
	<td width=300>
		<font size=-1>The client's middle name.</font>
	</td>
	<td width=100>
		<font size=-1>No</font>
	</td>
	</tr>
	<tr>
	<a name="#LastName"></a>
	<td width=100>		
		<font size=-1>Last Name</font>
	</td>
	<td width=300>
		<font size=-1>The client's last name.</font>
	</td>
	<td width=100>
		<font size=-1>Yes</font>
	</td>
	</tr>
	<tr>
	<a name="#Address"></a>
	<td width=100>
		<font size=-1>Address</font>
	</td>
	<td width=300>
		<font size=-1>The client's billing address.</font>
	</td>
	<td width=100>
		<font size=-1>Yes</font>
	</td>
	</tr>

With the above alias.h file, I get the dreaded "HH_HELP_CONTEXT called without a [MAP] section." error.

But if I simply change the LName_Help value to a different html file, like so...

alias.h
----------
CNum_Help = Helpfiles\clientinfo.htm#clientnumber;
FName_Help = Helpfiles\clientinfo.htm#firstname;
MName_Help = Helpfiles\clientinfo.htm#middlename;
LName_Help = Helpfiles\options.html;
Add1_Help = Helpfiles\clientinfo.htm#address;
-----------

...everything works fine.

I done a lot of searching online but can't quite find the correct answer for my situation. Any help would be greatly appreciated, as I'm pulling my hair out on this one!!





Thanks - Todd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top