Click here to return to the KiXtart HelpDesk main page...

KiXtart Command Reference

OLEPUTPROPERTY

action

Sets the value of a specific property of an OLE Automation object.

syntax

OLEPUTPROPERTY (objecthandle , “propertyname”, “value”)

parameters

ObjectHandle

The handle of the object you want to access. This handle must have been obtained by a call to OLECreateObject, OLEGetObject, OLEGetSubObject, OLEGetProperty or OLECallFunc.

PropertyName

The name of the property you want to retrieve the value of.

Value

String representing the value that the property should be set to.

returns

If the function succeeds, the return value is 0. If the function fails, the return value represents an error code.