Chapter Contents

Previous

Next
_DO_

_DO_



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


Syntax
Details
Example

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>);

Where... Is type... And...
in-OLE-method
C specifies the OLE method name.
in-parm
C or N provides a parameter to the OLE method.


Details

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');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.