Name

Error.HelpContext Property, Error.HelpFile Property — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

                     helpcontext = error.HelpContext
helpfile = error.HelpFile

The HelpContext and HelpFile properties indicate the topic and the name, respectively, of a particular error within an Error object.

Datatype

Long (HelpContext Property)
String (HelpFile Property)

Description

The HelpFile property contains a fully qualified path to a Windows Help file.

The HelpContext property automatically displays a Help topic from the Windows Help file that is indicated through the HelpFile property.

If no Help topic is relevant to the generated error, the HelpContext property returns zero, and the HelpFile property returns an empty string (“”).

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.