OLEObject.Invoke

From Xojo Documentation

Method


OLEObject.Invoke(NameOfFunction as String) As Variant

Supported for all project types and targets.

Invokes a method of the COM server. Returns a Variant.


Method


OLEObject.Invoke(NameOfFunction as String,Parameters() as Variant) As Variant

Supported for all project types and targets.

Invokes a method of the COM server, and passes the array of parameters to the method.

Notes

Make sure to correctly dimension the array, as this will determine the number of parameters that get passed to the method. The first parameter begins at 1.