GefObjects.AddOleObject (method)

Creates and returns a new object in this container.
Syntax: Set GefObject = object.AddOleObject ( ClassType, FileName, LinkToFile, Left, Top, Width, Height )
Parameters:
Optional ClassType As String -
Optional FileName As String -
Optional LinkToFile As Boolean -
Optional Left As long -
Optional Top As long -
Optional Width As long -
Optional Height As long -
Description: Exactly one of strClassType or strFileName must be specified.

The strClassType parameter can be found by inserting an OLE object into a CimEdit screen and looking at the Class Type field on the General property page.