You can add three types of context help.
1. Simple strings.
2. Individual HTML pages.
3. Compiled Help files *.chm (HTML Help)
Whichever one you choose you start by adding a HelpProvider component to
your form. Once you've added the HelpProvider you need to configure both
the HelpProvider and the individual controls on the form.
Think of the HelpProvider as pointer to your htm or chm files. You set
this pointer via the HelpNamespace property. If the HelpProvider does not
have the HelpNamespace property set you can only have simple string context
help.
1. Simple String
A. HelpProvider.HelpNamespace ="". Then on each controls HelpString property
enter your help text. Using the HelpProvider in this fashion is very
similar to the way ToolTips work.
2. Individual HTML pages.
B. HelpProvider.HelpNamespace="myhelp.htm". Pressing F1 on while a control
has focus will cause the default browser to launch and load your htm page.
3. Compiled Help files *.chm (HTML Help)
C. This is going to take a lot more work. You need to create a bunch of
HTML pages and use a help compiler. Microsoft has a free compiler (HTML
Workshop) and there are other tools listed on these websites [1].
HelpProvider.HelpNamespace ="myhelp.chm". Each control on the form can tell
the HelpProvider which page to load and what view (TOC, Index, Find) to load
into the help viewer.
[1]
http://www.mvps.org/htmlhelpcenter/ http://www.winwriters.com/ --
Walt Ritscher
www.waltritscher.com\blogs
www.scandiasoft.com yahoo email account is a spam trap - I will not reply to any mail sent to
this address.
[quoted text, click to view] "Tym" <bill.gates@microsoft.com> wrote in message
news:ql0vo09l8apo9t546gs49lf53pq6dfs7ge@4ax.com...
> I have written help files for VB6 programs with contect sensitive help
> and they work just fine and dandy.
>
> does it all work the same way in vb.net?
>
>