Am Freitag, den 29.09.2006, 13:10 +0200 schrieb Knut Olav Bøhmer:
> Hi,
> 
> How can I throw an exception from openoffice.org Basic?


You can't.

> I'm trying to prevent a mailmerge document from closing with a
> CloseVetoException. So far I have this code.

But this should be possible. Have a look at

http://api.openoffice.org/docs/common/ref/com/sun/star/embed/InstanceLocker.html

and an old message on this list with the subject

"Re: [api-dev] switching components in one frame"

from Mathias Bauer with the message-id

<[EMAIL PROTECTED]>

There you'll find the necessary information.

I don't know since when this service is built into OO.o, but 2.0.3 or .4
should have it.

HTH,
Marc


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

Reply via email to