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).
> 

FYI, listing 454 of Andrew's 'OpenOffice Macros Explained' uses CreateObject 
when the macro is run from Excel.

Winfried
_______________________________________________
LibreOffice mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to