Hi Peter,

>> Since you have the document definition, anyway, you could also "execute"
>> an "open" command at it - this will have the same result, without the
>> need for the additional property hassle.
> 
> yes, works like a charm.

good.

>>> n = documentDefinition.createCommandIdentifier()
>>>
>>> Dim  aCommand as new com.sun.star.ucb.Command
>>> aCommand.Name = "shutdown"
>>> aCommand.Handle = -1
>>> documentDefinition.execute(aCommand,n,null)
>> That part looks fine.
>>
> and works fine with 2.4.
> The version 2.2 seems to be buggy and doesn't support the command.

Yes, shutdown has been introduced "recently" only.

> The "close"-command doesn't work with dev300_m3.

The change is in CWS dba30b, which is not yet integrated.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to