SetAutomationPointer

Description

Sets the automation pointer of an OLEObject object to the value of the automation pointer of another object.

Applies to

OLEObject

Syntax

oleobject.SetAutomationPointer ( object )

Returns

Integer. Returns 0 if it succeeds and -1 if the object does not contain a valid OLE automation pointer.