Cicode Programming Reference > Cicode Function Categories > ActiveX Functions > ObjectToStr

ObjectToStr

Converts an object handle to a string. This means you can print the object handle in a trace message, which allows you confirm if the handle is valid.

Syntax

ObjectToStr(hObject)

hObject:

The handle for the object (as returned by the ObjectByName() function).

Return Value

A string containing the converted object handle

Related Functions

ObjectByName, CreateObject, CreateControlObject

See Also

ActiveX Functions

Published June 2018