pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
New to PostgreSql - requires assistance
2+ messages / 2 participants
[nested] [flat]

* New to PostgreSql - requires assistance
@ 2019-05-17 07:34 Cormar Films <cormar@mweb.co.za>
  2019-05-17 10:32 ` Re: New to PostgreSql - requires assistance Pierre Couderc <pierre@couderc.eu>
  0 siblings, 1 reply; 2+ messages in thread

From: Cormar Films @ 2019-05-17 07:34 UTC (permalink / raw)
  To: pgsql-odbc

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;P
WD=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=pos
tgres;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.
 
Kind regards
 
Cornie du Plessis
Cormar Films EMAIL Signature Jun 2016 ver 2
 


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Attachments:

image003.jpg (image/jpeg, 24.1K) download view image
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: New to PostgreSql - requires assistance
  2019-05-17 07:34 New to PostgreSql - requires assistance Cormar Films <cormar@mweb.co.za>
@ 2019-05-17 10:32 ` Pierre Couderc <pierre@couderc.eu>
  0 siblings, 0 replies; 2+ messages in thread

From: Pierre Couderc @ 2019-05-17 10:32 UTC (permalink / raw)
  To: pgsql-odbc@lists.postgresql.org


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??

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-05-17 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-05-17 07:34 New to PostgreSql - requires assistance Cormar Films <cormar@mweb.co.za>
2019-05-17 10:32 ` Pierre Couderc <pierre@couderc.eu>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox