Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Winfried,

On 31/05/2016 11:46, Winfried Donkers wrote:
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
Nono Sorry
I just run under LO basic the folowing sub where Xray returns the ServiceManager

sub test
Set oServiceManager = CreateObject( "com.sun.star.ServiceManager" )
xray oServiceManager
end sub



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.