Re: DSN-less connection...

From: Andrew Ayers <aayers(at)eldocomp(dot)com>
To: Thomas LeBlanc <thomasatiem(at)hotmail(dot)com>
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: DSN-less connection...
Date: 2003-09-12 16:21:35
Message-ID: 3F61F28F.4060507@eldocomp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Thomas LeBlanc wrote:
> Do you need a OLEDB driver for this?
>
> Is yes, where do you get it?

You don't state what coding language you will be using for your
application. My experience with PG and interfacing to it is via VB6.
Under VB, you need the ODBC driver for Windows (psqlodbc):

http://gborg.postgresql.org/project/psqlodbc/projdisplay.php

On the VB side, you do everything like you normally would for any DB
application (selecting DAO or ADO object library references - I
reccommend *against* DAO), except instead of passing the DSN name, you
pass through a dsn connection string, which sets everything up for you.

If you need help with another language/OS - perhaps someone else here
can help you...?

Good luck,

Andrew Ayers
Phoenix, Arizona

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.

Browse pgsql-odbc by date

  From Date Subject
Next Message Andrew Ayers 2003-09-12 16:34:04 Re: visual basic
Previous Message Greg Campbell 2003-09-12 15:44:53 ADO Server Cursors and OID