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!

Has anyone successfully used a custom help file?

Status
Not open for further replies.

jgoodman00

Programmer
Jan 23, 2001
1,510
I have spent the day creating a custom help file which has in itself proved a nightmare. Anyway, I have used the HTML Help workshop to create it. I read the Microsoft Access help documentation on this & placed my compiled help file (help.chm) in the same folder as the db. I then followed the instructions in the HTML workshop help file to the letter on how to create a context sensitive popup as follows:

File 1, called AdvancedQuery.txt contains the following:
.topic IDH_ADVANCEDQUERYFORM
The Advanced Query Form displays a list of custom queries which have been created by the currently logged in user.

File 2, called AdvancedQuery.h contains the following:
#define IDH_ADVANCEDQUERYFORM 1001


I then added these files to the project exactly as the help file states, & set the help context id for the form in Access to 1001.
I then compiled the help file & placed it in the directory with the db.
I then opened the form concerned & pressed F1. It looks like the help file starts to load, but then it pops the error message of 'HH_HELP_CONTEXT called without a [MAP] section'. I have specifically created a MAP section in the help project, & checked it exists over & over.

So, has anyone else tried anything like this? Did it work? Does anyone know why this continues to error even though from what I can see it is correct.


N.B. I have tried assigning the popup a different ID, but it always results in the same error message...



James Goodman
 
Access XP, Visual Studio 6... James Goodman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top