Re: [dba-dev] How to pass password when opening DatasourceBrowser

2010-10-01 Thread Fernand Vanrie
Hey Frank , Thanks for the respons: Wath i already tryed en yet again tryed oDB = CreateUnoService(com.sun.star.sdb.DatabaseContext) oConn = oDB.GetByName(mysql_native).GetConnection(username,password) Dim aProps(7) as New com.sun.star.beans.PropertyValue aProps(0).Name

Re: [dba-dev] LDAP-Mapping

2010-10-01 Thread Thomas Foerster
Hi Frank, meanwhile I could change behaviour in DataAccess.xcu (Basis\share\registry\res\de\org\openoffice\Office), after deleting the cache-folder in profile: ...\OpenOffice.org\3\user\registry\cache To change things I put a new mozilla.schema server side. That is the only way to get the

Re: [dba-dev] How to pass password when opening DatasourceBrowser

2010-10-01 Thread Frank Schönheit
Hi Fernand, Are you sure you didn' tryed with user/password before you tryed the activeconnection, because OO remembers the connection made by user/password ? Yes. The code who works but is asking for User and pasdword: Dim aProps(7) as New com.sun.star.beans.PropertyValue