SQL Db Connections

Java, C++, C#, Delphi, ??? - Using the UNO bridges

SQL Db Connections

Postby cradaa » Wed Feb 13, 2013 10:28 pm

oDBSource = oDBContext.GetByName(DBNAME)
oConnection = oDBSource.GetConnection("", "")

I know the above calls will connect me to DB's that are setup within OpenOffice, but how do I open a SQL database while I am in VB.Net code?

I am a rookie, so be gentle.
OpenOffice 3.1 and Windows 2008
Posts: 1
Joined: Wed Feb 13, 2013 10:22 pm

Re: SQL Db Connections

Postby Villeroy » Wed Feb 13, 2013 10:51 pm

This has nothing to do with this office suite. In VB.net you can connect to any type of database without OpenOffice being installed on the system. Database and office suite are two different programs and for your program there should be no reason to access some database through OpenOffice.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.4
User avatar
Posts: 28431
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Return to External Programs

Who is online

Users browsing this forum: No registered users and 2 guests