Change in use of basic (uno) api since version 5.1?

Winfried Donkers W.Donkers at dci-electronics.nl
Tue May 31 10:53:48 UTC 2016


Hi Fernand,

> > Do you  mean that the following vbscript:
> >
> >   option explicit
> >
> >   Dim t
> >
> >   set t = WScript.CreateObject( "com.sun.star.ServiceManager")
> >   msgbox "srv-mgr created"
> >   set t = nothing
> >
> >   set t = CreateObject( "com.sun.star.ServiceManager")
> >   msgbox "srv-mgr created again"
> >   set t = nothing
> >
> > runs without error on your machine with windows and LO5.1.2.2?
> >

> Nono Sorry
> I just run under LO basic  the folowing sub where Xray returns the
> ServiceManager
> 

Yep, I thought so. My problem occurs when the macro/script has to run outside of LO (i.e. from Windows script, Excel macro or ERP script).

Winfried


More information about the LibreOffice mailing list