OLEObject.Invoke
From Xojo Documentation
Method
This method is only available on the Windows platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
Invokes a method of the COM server. Returns a Variant.
Method
This method is only available on the Windows platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
OLEObject.Invoke(NameOfFunction as String,Parameters() as Variant) As Variant
Supported for all project types and targets.
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.