Link to home
Start Free TrialLog in
Avatar of bfeddish
bfeddishFlag for United States of America

asked on

Question about help files



I have my app setup to use compiled HTML help files.  When I press F1 the help appears as expetected. I then added my HelpContextID's to all my fields. When I press F1 on my fields I'm expecting the help associated with those ID's to appear but I just get the start of the index. I must be missing a step here. Any suggestions?
Avatar of RichW
RichW
Flag of United States of America image

What software are you using to create the Help files?
Avatar of bfeddish

ASKER

It was created in RoboHelp
Avatar of superg65
superg65

Hi

Looks to me that you don't have TopicIds in your compiled help file that match your HelpContextIDs, it can't find one so just opens the help file instead.  I don't use RoboHelp but instead use MS HTML Help Workshop. There I text edit a file called MyHelpFile.h which assigns a TopicID to the individual HTML pages which then all get compiled into the CHM file.
An example of ths file is

#define IDH_ALL_DIALOGS 1
#define IDH_dlg_frmAbout 10
#define IDH_dlg_frmBuildQuotes 20
#define IDH_dlg_frmBuildTemplate 30
#define IDH_dlg_frmFindTemplate 40
#define IDH_dlg_frmCustomers 50
#define IDH_dlg_frmEditTemplate 60
#define IDH_dlg_frmUserDetails 70
#define IDH_dlg_frmItems 80
#define IDH_dlg_frmChooseTemplate 90
#define IDH_dlg_frmQuotes 100
#define IDH_dlg_frmQuoteReport 110
#define IDH_dlg_frmFindCustomer 120
#define IDH_dlg_frmFindItem 130
#define IDH_dlg_frmFindSupplier 140
#define IDH_dlg_mdiMenu 150
#define IDH_dlg_frmSuppliers 160

where dlg_frmSuppliers is an uncompiled HTML page and it gets assigned a TopicID of 160. Then in my app I would make the Supplier form HelpContextID = 160. I would think Robohelp has something similar.

Good luck
G
Hi

Oops I didn't quite put everything in my first post on this.

In the MyHelpFile.h file:  IDH_dlg_frmSuppliers is an alias for the dlg_frmSuppliers.htm file.

To setup the alias:
when you open your help file (MyHelpFile.hhp) in HTML Help Workshop, scrolling down the details brings up an [ALIAS] section. Double clicking in this brings up a dialog with an alias tab that you can use to create the alias.

Again good luck
G
ASKER CERTIFIED SOLUTION
Avatar of DarthMod
DarthMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial