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

Winfried Donkers W.Donkers at dci-electronics.nl
Tue May 31 08:43:39 UTC 2016


Hi Piet,

>  >
>  > The LO-part of the scripts start with the line  >
>  >   Set oServiceManager = CreateObject( "com.sun.star.ServiceManager" )
>  >
> According to Andrew Pitonyak's documentation, the way to get the service
> manager is oServiceMgr = GetProcessServiceManager()
> 
> Maybe you could try that.

I tried, no luck, GetProcessServiceManager() is not recognised.

AFAIK GetProcessServiceManager() is used within an LO-application and not from outside.
There is no function GetProcessServiceManager() in VBasic (and there may not be an active ServiceManager either).

Winfried


More information about the LibreOffice mailing list