AppConnect event

This event occurs when an external automation object calls the Application.Connect() function.

Syntax

Public Function AppConnect(Client As Object) As Long

Parameters

Client contains the object reference (IDispatch) of the client that is trying to connect to INVOICES.

Active objects

Application

Return values

evtOK 

Connection accepted.

evtOKAbort 

Connection not accepted.

evtError 

Connection not accepted.

Suggested usage

This event can be used for supervision applications.

AppDisconnect event