Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
Description Property
Number Property
Source Property
PROPERTY: Error::HelpContext
long =
errorobject.
HelpContext
The
HelpContext
property returns a long value that is the context ID of a topic in a Windows help system.
The companion
HelpFile
property returns a string that is the path and file name of the help file 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 "".
Code (VBScript):
For Each objError in objConnection
ErrorInfo = "Description; " & objError.Description & VBCRLF &_
"Help Context: " & objError.
HelpContext
& VBCRLF &_
"Help File: " & objError.HelpFile & VBCRLF &_
"Native Error: " & objError.NativeError & VBCRLF &_
"Number: " & objError.Number & VBCRLF &_
"Source: " & objError.Source & VBCRLF &_
"SQL State: " & objError.SQLState & VBCRLF
Response.Write ErrorInfo
Next
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information