Hi Drew,
> Checking 3.2 RC1 and this issue
>
> http://www.openoffice.org/issues/show_bug.cgi?id=96862
>
> OK I edited the file
>
> /opt/openoffice.org/basis3.2/share/registry/schema/org/openoffice/office/DataAccess.xcs
Uhm, not sure editing the schema is a good idea, I don't know which
restrictions apply there (the least you might need to do is removing
registry/cache in your user data folder).
Try something like the following in Basic
Dim oProvider as Object
oProvider = createUnoService( _
"com.sun.star.configuration.ConfigurationProvider" )
Dim args(0) as new com.sun.star.beans.PropertyValue
args(0).Name = "nodepath"
args(0).Value = _
"/org.openoffice.office.Office.DataAccess/Policies/Features/Base"
Dim oNode as Object
oNode = oProvider.createInstanceWithArguments( _
"com.sun.star.configuration.ConfigurationUpdateAccess", _
args() )
oNode.CreateLocalDatabase = FALSE
oNode.commitChanges
(warning: that's out of my head, not tried that actual piece of code,
but it works along the above lines)
Ciao
Frank
--
- Frank Schönheit, Software Engineer [email protected] -
- Sun Microsystems http://www.sun.com/staroffice -
- OpenOffice.org Base http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]