ShowHelp doesn't always work

  • Thread starter Thread starter Jeffry van de Vuurst
  • Start date Start date
J

Jeffry van de Vuurst

Hi,

I have a windows forms application. I've made a .chm help file and call that
help file from my windows app using the HelpProvider component. I use F1 to
show the context sensitive help for a specific form. You can also open the
help from a menu link. I do this using:

Help.ShowHelp(this, "myhelp.chm", HelpNavigator.TableOfContents);

Now, the app has been tested by different people on different versions of
Windows. Some users of Windows 98 and a user with Windows XP reported that
with F1 and from the menu link, the help file didn't show at all. When they
clicked the chm file from the start menu (where I also install a shortcut)
or in windows explorer, the help file opened fine.

Other users, including myself, have no problems at all opening the help file
from within the application.

What could be the problem here?

Thanks,
Jeffry
 
Jeffry said:
You can also open the
help from a menu link. I do this using:

Help.ShowHelp(this, "myhelp.chm", HelpNavigator.TableOfContents);

Try using a fully qualified path. This is what I use for the Help menu
item in my application:

exepath = Path.GetDirectoryName(thisExe.Location);
Help.ShowHelp(this, exepath + @"\RegexWorkbench.chm");
 
Back
Top