Re: vb.net Openoffice-uno bootstrap.bootstrap close

Petr Mladek <[email protected]>
Newsgroups gmane.comp.gnome.ximian.openoffice
Message-ID <[email protected]>
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: [email protected]
Lihovarská 1060/12                          tel: +420 284 028 952
190 00 Prague 9                             fax: +420 284 028 951
Czech Republic                              http://www.suse.cz/
_______________________________________________
ooo-build mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/ooo-build
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.