Implemented in version 1.0
[ = contextID]
This property is used to set or return a context ID for a Help topic specified with the
property. If no specific Help file is defined in your code then one of two things can happen. Firstly, VBScript checks to see if the
value of the
object relates to a known runtime error. If it does then the VBScript Help context ID for that error is used. However, if the
property value is not recognised, then VBScript will display the Help contents screen.
On Error Resume Next
Err.HelpFile = "userhelp.hlp"
Err.HelpContext = usercontextID
If Err.Number <> 0 Then
MsgBox "Press F1 for help", , "Error: " & Err.Description, Err.Helpfile, _
Copyright 1999-2004 by Infinite Software Solutions, Inc. All rights reserved.