Language ReferenceHelpFile Property

See Also                  Applies to


Description
Returns or sets a fully qualified path to a Help file.

Syntax

object.HelpFile [= pathspec]

The HelpFile property syntax has these parts:

PartDescription
objectRequired. Always the Err object.
pathspecOptional. Fully qualified path to the Help file.

Remarks

If a Help file is specified in HelpFile, it is automatically called when the user presses the Help button (or the F1 key) in the error message dialog box. If the HelpContext property contains a valid context ID for the specified file, that topic is automatically displayed. If no HelpFile is specified, the VBScript Help file is displayed.