I am trying to display a RoboHelp HLP file using .NET Help and the
HelpProvider. All of the commands display the help file, but none preselect
the Index or Seach tabs. Nor can I display a preselected topic. What is the
Keyword supposed to be set to?

Help.ShowHelp(this, helpFile);
Help.ShowHelpIndex(this, helpFile);
Help.ShowHelp(this, helpFile, HelpNavigator.Find);
Help.ShowHelp(this, helpFile, HelpNavigator.Topic, 8025);

WindowsAPI.WinHelp(this.Handle, helpFile,
(int)(HelpNavigator.AssociateIndex), 8025);

helpProvider.HelpNamespace = helpFile;
helpProvider.SetHelpNavigator(this, HelpNavigator.Topic);
helpProvider.SetHelpKeyword(this, "8030");
helpProvider.SetHelpString(this, "The Select Items window provides a central
location for report generation and watch window item selection.");

Anyhow, any working examples would be helpful. THANKS!

Steve

RE: Help & the HelpProvider -> Showing Topics??? by quansun

quansun
Thu Aug 21 07:58:42 CDT 2003

I'm now performing research on the issue. I will update you as soon as
possible.

Best regards,

Duke Sun
Microsoft Online Partner Support
<MCSE/MCDBA/MCSD>

Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


Re: Help & the HelpProvider -> Showing Topics??? by quansun

quansun
Wed Aug 27 01:27:08 CDT 2003

Based on my research, if you add a HelpProvider control "helpProvider1"
onto your form, the control will create a extend property "ShowHelp on
helpProvider1" for each controls on the form. Therefore, you can set the
value of a control to "false" to avoid help window while pressing F1 button.

You can also set it by programming. For example, the following code demos
how to disable F1 help function for a editbox:

helpProvider1.SetShowHelp(this.textBox1, false);

Best regards,

Duke Sun
Microsoft Online Partner Support
<MCSE/MCDBA/MCSD>

Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.