Err.HelpFile Property


Err.HelpFile Property

Class

Microsoft.VisualBasic.ErrObject

Syntax

     Dim result As String = Err.HelpFile 

Description

The HelpFile property gets or sets the path to the online help file associated with the active error.

Usage at a Glance

  • When a runtime error occurs, the HelpFile property is automatically assigned for standard Visual Basic and .NET errors.

  • While you can assign the HelpFile property directly, the Err.Raise method is a better way to assign the values of a custom error.

  • When errors occur that have both the HelpFile and HelpContext properties set, the user can press the F1 key from the standard Visual Basic error dialog box to view the related online help. You can also use these values to manually display online help related to an error.

See Also

Err Object, Err.HelpContext Property




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net