Call HTML Help file using Topic ID?

LearnerVN

Newcomer
Joined
Feb 4, 2003
Messages
1
The problem:
- I have a HTML help file (sample.chm) and I have to open it in several form
- In each form, when the user press F1, the program will bring up a help topic relating to that form
- I have Help ID for each topic, help ID represent as a 32 bit number
- I use HelpProvider control

HelpProvider has some method: SetHelpNavigator and SetHelpKeyword, but I don't see any method like SetHelpID so I can't make the program run as requirement...

I know that we can use VC++ to solve this problem as MFC provide function for this, but in this case I'm using C#

Any suggestion for the problem? Thanks in advance.
 
The only other .NET way to show help, that I'm aware of, is using the System.Windows.Forms.Help class. It has a few methods, including ShowHelp, which has 4 overloads. One of them might be of some use to you.

If not, you could always call the same APIs that MFC does.
 
Back
Top