ActiveX Component Error - ErrorWord Property

Returns the current HRESULT value as a hexadecimal string in the form of Xxxxxxxxx.

Member of ActiveX Component Error (PRIM_COER)

Data Type - String

Details

Returns the current HRESULT value as a hexadecimal string in the form of Xxxxxxxxx where x is a hexadecimal character consisting of 0 to F.

The following lists some sample HRESULT values with their generally accepted symbol name

Common HRESULTs

Code

Error Word

Error Code

Description

E_ACCESSDENIED

X80070005

-2147024891

A General access denied error

E_FAIL

X80040005

-2147467259

An unspecified error has occurred

E_INVALIDARG

X80070057

-2147024809

One or more arguments are invalid

E_UNEXPECTED

X8000FFFF

-2147418113

A catastrophic failure has occurred

S_FALSE

X00000001

1

The method succeeded and returned the Boolean value FALSE

S_OK

X00000000

0

The method succeeded. If a Boolean return value is expected the return value is TRUE


See also

All Component Classes

Technical Reference