Change in use of basic (uno) api since version 5.1?
Winfried Donkers
W.Donkers at dci-electronics.nl
Tue May 31 09:46:49 UTC 2016
Hi Fernand,
> works as normal for me on (windows) LO 5.1.2.2 greetz Fernand On
> > The LO-part of the scripts start with the line
> >
> > Set oServiceManager = CreateObject( "com.sun.star.ServiceManager" )
> >
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?
Here, I use LO 5.1.3.2 and Windows7-64; neither of the 2 CreateObject calls succeed.
Winfried
More information about the LibreOffice
mailing list