ShowHelp doesn't always work

  • Thread starter Jeffry van de Vuurst
  • 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
 
K

Ken Arway

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");
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top