Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Question about help files

Posted on 2005-05-10
6
Medium Priority
?
133 Views
Last Modified: 2010-05-18


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?
0
Comment
Question by:bfeddish
5 Comments
 
LVL 4

Expert Comment

by:RichW
ID: 13977004
What software are you using to create the Help files?
0
 
LVL 1

Author Comment

by:bfeddish
ID: 13979121
It was created in RoboHelp
0
 
LVL 2

Expert Comment

by:superg65
ID: 14054350
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
0
 
LVL 2

Expert Comment

by:superg65
ID: 14057609
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
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 14493648
PAQed with no points refunded (of 125)

DarthMod
Community Support Moderator
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question