ADODB Object
 
Syntax
 
string = errorobject.HelpFile
 
Description
Returns a string that is the path and name of the help file (if it exists).
 
The HelpFile property returns a string that is the path and file name of the help file in a Windows help system.
 
The companion HelpContext property returns a long value that is the context ID of a topic in a Windows help system.
 
Both of these properties allow you to interact with the Microsoft Windows help system. This involves calling the Windows API Help functions. If you do not have such access, the HelpContext property returns zero and the HelpFile property returns the empty string "".
See Also
Example
 
Dim ErrorInfo As String
 
For Each objError in objConnection
   ErrorInfo = "Description; " & objError.Description & vbNewline & _
      "Help Context: " & objError.HelpContext & vbNewline & _
      "Help File: " & objError.HelpFile & vbNewline & _
      "Native Error: " & objError.NativeError & vbNewline & _
      "Number: " & objError.Number & vbNewline & _
      "Source: " & objError.Source & vbNewline & _
      "SQL State: " & objError.SQLState & vbNewline
 
   Debug.Print ErrorInfo
Next