Hi!

I'm trying to make a VB app that connects to a PostgreSQL database. I used the postgres ODBC driver but I get an error when trying to open the connection...

My codes are:

Code:
sConnection = "Driver={PostgreSQL};PWD=" & sOraclePwd & ";UID=" & _
              sOracleUser & ";Server=" & sServerName & ";" & "Database=tfm;"
adoConnect.CursorLocation = adUseClient
adoConnect.Open sConnection
MsgBox "Ok"
I get the error in the adoConnect.Open line. The error is description is:
Run-time error '.......':
blank


Any help would be appreciated...