SQL Db Connections

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
cradaa
Posts: 1
Joined: Wed Feb 13, 2013 10:22 pm

SQL Db Connections

Post by cradaa »

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
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: SQL Db Connections

Post by Villeroy »

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 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply