Re: New to PostgreSql - requires assistance

From: Pierre Couderc <pierre(at)couderc(dot)eu>
To: pgsql-odbc(at)lists(dot)postgresql(dot)org
Subject: Re: New to PostgreSql - requires assistance
Date: 2019-05-17 10:32:40
Message-ID: 25e57e18-f598-79c9-6e32-b575092e10e4@couderc.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc


On 5/17/19 9:34 AM, Cormar Films wrote:
>
> Good day
>
> I am a VB6 programmer with plenty of MS Access Databasis and
> applications and would like to start using PostGreSql instead.
>
> I installed PostGreSql, pgAdmin4 and drivers - not sure if everything
> required is now installed.
>
> I successfullly created a database and table in PostgreSql, and now
> want to start implimenting it in VB6.
>
> My big problem now is the connection to the database from VB6.I tried
> the following connection strings:
>
> conUsers.ConnectionString = "Driver={PostGreSql
> Unicode(X64)};SERVER=localhost;port=5432;DATBASE=WinMedAngela;UID=postgres;PWD=Goslow22%;CommandTimeOut=300;"
>
> conUsers.ConnectionString = "Driver={PostgreSql
> ANSI(x64)};SERVER=localhost;port=5432;DATBASE=WinMedAngela;UID=postgres;PWD=Goslow22%;CommandTimeOut=300;"
>
> conUsers.ConnectionString =
> "Driver={PostgreSql};SERVER=localhost;port=5432;DATBASE=WinMedAngela;UID=postgres;PWD=Goslow22%;CommandTimeOut=300;"
>
> ... which caused error "Data Source Name not found and no default
> driver specified".
>
> It seems that there is a problem with the driver.
>
> Could you please assist me with this issue.
>
Have you checked that  the DB connect test in ODBC32 box  is ok??

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Inoue, Hiroshi 2019-05-19 04:06:21 Re: Bound parameters in escaped functions
Previous Message Cormar Films 2019-05-17 07:34:05 New to PostgreSql - requires assistance