Hi Tom
Thanks for the info Peter. Then we should add this to the snippet how I
can one access from within UNO the actual OO-Version?
perharps a new snippet
is a code taken from DicOoo
HTH
Laurent
'--------------
function OOoVersion() as string
Dim aSettings, aConfigProvider
Dim aParams2(0) As new com.sun.star.beans.PropertyValue
aConfigProvider = createUnoService(
"com.sun.star.configuration.ConfigurationProvider" )
aParams2(0).Name = "nodepath"
aParams2(0).Value = "/org.openoffice.Setup/Product"
aSettings = aConfigProvider.createInstanceWithArguments(
"com.sun.star.configuration.ConfigurationAccess", aParams2() )
OOoVersion()=aSettings.getbyname("ooSetupVersion")
end function
--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]