Okay, so the title is a bit misleading, It Starts by stating HelpProvider, That’s what MS call’s it’s F1 key and mouse over help click thing. But the documentation is a little sparse and what does exist is very repetitive. What I wanted was a nice example of how to get this to work with web hosted html via a url.
Lot’s of searching with http etc. in the search criteria does not help in google and the like.
Anyway, it turns out to be be trivial once you know what to do (And ignore the chm / htm [see no L on the end!] examples)
- Create the HelpProvider instance on your form
- Put in the root url for the help page (Singular) into the
- Make sure the form has the HelpButton field set to true to show the question mark in the Title bar.
- For each of the Form elements that you wish to provide web help to you need to click on the HelpKeyword field and type inthe anchor offset (The bit that will go after the url and not including the #)
- Then in the HelpNavigator select Topic :
Run the application, Click on the the little help icon or press F1 and then click on the control that you set the data above on. Using the example above will turn the data into the following link location and start the default browser to go to it: