Showing help

The System.Windows.Forms.Help class encapsulates the HTML Help 1.0 engine and lets you display the index, the search page, or a specific topic in an HTML file in HTML Help format or a compiled help file (.chm) authored with the HTML Help Workshop or some third party tool.

This class exposes two shared methods, and you can’t create an instance of this class. The ShowHelpIndex method displays the index of the specified help file, as in:

' The first argument is a Control object that works as the ' parent for the help dialog box.Help.ShowHelpIndex(Me, "c:myhelpfile.chm")

(You can also use a URL that uses forward slashes as separators.) The other method, ShowHelp, is overloaded to provide access to different portions of the help document:

' Display the contents of the help file.Help.ShowHelp(Me, "c:myhelpfile.chm")' Display the index page of the help file.Help.ShowHelp(Me, "c:myhelpfile.chm", HelpNavigator.Index)' Display the search page of the help file.Help.ShowHelp(Me, "c:myhelpfile.chm", HelpNavigator.Find)' Display the help page for a specific keyword.Help.ShowHelp(Me, "c:myhelpfile.chm", "mykeyword")' Display the help page for the specific topic #123.Help.ShowHelp(Me, "c:myhelpfile.chm", HelpNavigator.Topic, 123)

The Help class replaces the Help Common Dialog, which isn’t supported any longer.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

microsoft careers

Top Careers at Microsoft

Microsoft has gained its position as one of the top companies in the world, and Microsoft careers are flourishing. This multinational company is efficiently developing popular software and computers with other consumer electronics. It is a dream come true for so many people to acquire a high paid, high-prestige job

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS