How to bring up a help file

blumonde

Well-known member
Joined
Jul 26, 2005
Messages
68
Programming Experience
Beginner
Gentlemen,

I added the helpprovider control to my form. In its properties, I set the "helpnamespace" to help.htm

I added a help button the my windows form.

How do I invoke up the help.htm file when I click on the help button?

I read the msdn library on helpprovider control but couldn't find the command to do it. I don't know if I am on the right track or not.

Please help.

blumonde
 
Last edited:
kulrom said:
Yes you can use helpprovider component for the purpose using the static method ShowHelp() of the Help class. For instance, to show the table of contents, simple call: Help.ShowHelp(Me, "helpfile.chm").
Otherwise, you can make a new process and call the help file like that.

Cheers ;)

Hi Kulrom :)

I changed the command above to
Help.ShowHelp(
Me, "Help.htm") and I got an error message "Invalid URL help.htm" I created my help file in htm format. I don't know how to make .chm format. What do you think?

Cheers,

blumonde
 
Back
Top