Thread: DSN-less connection...

DSN-less connection...

From
"Thomas LeBlanc"
Date:
Do you need a OLEDB driver for this?

Is yes, where do you get it?

Thomas LeBlanc

_________________________________________________________________
Get a FREE computer virus scan online from McAfee.
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


Re: DSN-less connection...

From
Andrew Ayers
Date:
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
informationthat is privileged, confidential and exempt from disclosure under applicable law. If you are not the
intendedaddressee, 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
thismessage in error, please immediately advise the sender by reply email, and delete the message. Thank you.