StarOffice

Hi,

I have an embedded StarOffice document in a notesdocument as an embedded object (not an attachement). I would like to activate this SO document from LotusScript, so that the user can edit it.

The problem is, that the SO application closes as soon as the LS code has finished running. How do i activate the SO document, and keep it open?

My testcode so far:

Dim session As New NotesSession

Dim workspace As New NotesUIWorkspace

Dim doc As notesdocument

Dim object As NotesEmbeddedObject

Dim handle As Variant

Set doc = workspace.CurrentDocument.document

Set object = doc.embeddedobjects(0)

Set handle = object.Activate( True )

Any ideas?