Activate (NotesEmbeddedObject - LotusScript®)

Causes an embedded object or object link to be loaded by OLE.

Defined in

NotesEmbeddedObject

Syntax

Set handleV = notesEmbeddedObject .Activate( show )

Parameters

show

Boolean. If True, the server application displays its user interface. If False, the server application hides its user interface.

Return value

handleV

Variant. The OLE handle to the object. Returns Nothing if the embedded object or object link does not support OLE automation.

Usage

Scripts running on a server must set the show parameter to False.

This method raises an error if you invoke it on a NotesEmbeddedObject that is a file attachment.

This method may or may not return a valid OLE handle for object links, depending upon the application used to create the object link.

Example