Description
Display a Windows (.hlp) or compiled HTML help file (.chm)
-
Return Type
-
None
-
Syntax
-
object.ShowHelp [HelpFile], [Command], [Data]
The ShowHelp Method syntax has these parts: |
| object | An expression evaluating to an object of type McApplication. | | HelpFile | Optional. A String value. The .chm or .hlp file to display.
| | Command | Optional. A mcHelpCommand enumeration, as described in settings. A command to run once the file is open (default to mchcDisplayTopic).
| | Data | Optional. A Variant value. A topic id when Command is mchcDisplayTopic.
| Settings The settings for Command are:
 | mchcDisplayTopic | 0 |
Display a specific topic
|
 | mchcDisplayTOC | 1 |
Display the table of contents
|
 | mchcDisplayIndex | 2 |
Display the help index
|
 | mchdShellOpen | 4 |
Open the help document with ShellExecute
|
Remarks
If HelpFile is not an absolute path, ShowHelp will look for it in the Help directory of the application folder.
|