InsertObject

Description

Displays the standard Insert Object dialog box, allowing the user to choose a new or existing OLE object, and inserts the selected object in the OLE control.

Syntax

olecontrol.InsertObject ( )

Returns

Integer. Returns 0 if it succeeds and one of the following values if an error occurs:

If any argument’s value is null, InsertObject returns null.