_DO_

Invokes a method on an OLE automation object with no return value.

Syntax

CALL NOTIFY(OLE-object-name,'_DO_',in-OLE-method<,in-parm…,in-parm> );
CALL SEND(OLE-object-id,'_DO_',in-OLE-method<, in-parm…,in-parm> );

Details

OLE Arguments
Argument
Character (C) or Numeric (N)
Description
in-OLE-method
C
specifies the OLE method name.
in-parm
C or N
provides a parameter to the OLE method.
The _DO_ method invokes a method (with parameters) that is exposed by an OLE automation server. The number of parameters (in-parm arguments) needed varies among different OLE objects and methods. Only methods that have no return value should be used with the _DO_ method. For methods with return values, use the _COMPUTE_ method.

Example

The following example sends the AboutBox method to an OLE control, which displays the About Box for the control:
    call notify('oleobj', '_DO_', 'AboutBox');