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


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

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.