|
-
Jan 14th, 2003, 09:19 PM
#1
Thread Starter
Lively Member
Problems connecting to PostgreSQL...
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...
-
Jan 14th, 2003, 09:41 PM
#2
Thread Starter
Lively Member
Resolved...
Hi!
Got it to work now... Just needed to upgrade my PostgresODBC driver...
-
Feb 21st, 2006, 10:21 AM
#3
New Member
Re: Resolved...
 Originally Posted by Echo15
Hi!
Got it to work now... Just needed to upgrade my PostgresODBC driver... 
Hey I need to connect VB with postgres I'll apreciate some help you can give to me,
I have Postgres 8.1 already installed but seems to be wrong drivers, tell me what I need to be connected. TKS
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|