[ooo-build] vb.net Openoffice-uno bootstrap.bootstrap close
Petr Mladek
pmladek at suse.cz
Fri Apr 23 05:28:59 PDT 2010
On Friday 23 April 2010, vnaresh prasad wrote:
> How to close/exit/dispose the Openoffice running in background.Currently
> coding in VB.net and im starting openoffice using
> uno.util.Bootstrap.bootstrap() to start and run openoffice in background.
> Searching on this made me find only how to close the openoffice started as
> a service by the application itself using soffice
> “-accept=socket,host=0,port=2002;urp,Negotiate=0,ForceSynchronous=0;” but
> was not able to find how to close the
> soffice.bin and soffice.exe running in windows process , started using
> uno.util.Bootstrap.bootstrap() method.
In the StarBasic, it might be done by:
FileExit "SynchronMode", TRUE
See
http://cgit.freedesktop.org/ooo-build/testing/tree/testautomation/global/tools/closeoffice.bas
You might get sources from the whole testautomation suite at
http://cgit.freedesktop.org/ooo-build/testing/
Noel might know it better.
--
Best Regards,
Petr Mladek
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: pmladek at suse.cz
Lihovarská 1060/12 tel: +420 284 028 952
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
More information about the ooo-build
mailing list