Results 1 to 3 of 3

Thread: Problems connecting to PostgreSQL...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Posts
    76

    Question 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...

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Posts
    76

    Resolved...

    Hi!

    Got it to work now... Just needed to upgrade my PostgresODBC driver...

  3. #3
    New Member
    Join Date
    Feb 2006
    Posts
    1

    Cool Re: Resolved...

    Quote 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
  •  



Click Here to Expand Forum to Full Width