Microsoft® Visual Basic® Scripting Edition
HelpFile Property
Language Reference |

See Also                    Applies to


Description
Sets or returns a fully qualified path to a Help File.

Syntax

object.HelpFile [= contextID]

The HelpFile property syntax has these parts:

Part Description
object Required. Always the Err object.
contextID Optional. Fully qualified path to the Help file.

Remarks

If a Help file is specified in HelpFile, it is automatically called when the user clicks the Help button (or presses 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.