Write-Read

DisplayAutomationErrors Property


Description

Enables or disables automation error messages from being displayed on the screen.

 VB Syntax

app.DisplayAutomationErrors = value

Variable

(Type) - Description

app

An Application (object)

value

(Boolean)

True allows error to show on display,

False turns error off from display.

Return Type

Boolean

Default

True

Examples

Dim app As Application

Set app = New Application

app.DisplayAutomationErrors = False    'Turns off display

print app.DisplayAutomationErrors      'prints False

C++ Syntax

HRESULT get_DisplayAutomationErrors(VARIANT_BOOL * Val);

HRESULT put_DisplayAutomationErrors(VARIANT_BOOL Val);

Interface

IApplication2