pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: SZŰCS Gábor <surrano@mailbox.hu>
To: pgsql-odbc@postgresql.org
Subject: Re: Datasource-less connection (Re: DSN Less Connections with PG ODBC: Yes you can)
Date: Tue, 13 May 2003 18:56:48 +0200
Message-ID: <00ac01c31973$03267010$0a03a8c0@fejleszt2> (raw)
References: <01C31876.2017E3F0.cgibbs@westmarkproducts.com>

Dear Corey,

I'm afraid it didn't help me.

First of all, I don't know how could I use ADO-thingie to set an ODBCExpress
connection (hDbc).

Second, I'm (also) interested in specific parameters such as "Int8_as" and
the like. We could try things, once we have idea about the exact attribute
names, since hDbc's Attributes property is a stringlist.

I've also had a look at the source with no success. I don't even know what
exactly to search for.

G.
--
while (!asleep()) sheep++;

---------------------------- cut here ------------------------------
----- Original Message -----
From: "Corey W. Gibbs" <cgibbs@westmarkproducts.com>
Sent: Monday, May 12, 2003 8:03 PM


> Check into DSNless connections.
>
> Once the driver is installed on the workstation, you can refer to it in
your program
> here is a visual basic example using ADO
>
> dim cn as ADODB.Connection
> dim rs as ADODB.Recordset
>
> cn.Open
"Driver={PostgreSQL};Server=server4;Port=5432;Database=foobar;Uid=postgres;"
>
> at that point you can point to another database besides foobar
>
> Once the driver's been installed and registered on teh workstation, this
method will work.
>
> hope it helps
> corey
>
>




Message-ID: <00ac01c31973$03267010$0a03a8c0@fejleszt2>
Permalink:  ../00ac01c31973$03267010$0a03a8c0@fejleszt2/
Also on:    postgresql.org/message-id/00ac01c31973$03267010$0a03a8c0@fejleszt2

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: surrano@mailbox.hu
  Subject: Re: Datasource-less connection (Re: DSN Less Connections with PG ODBC: Yes you can)
  In-Reply-To: <00ac01c31973$03267010$0a03a8c0@fejleszt2>
  References: <01C31876.2017E3F0.cgibbs@westmarkproducts.com> <00ac01c31973$03267010$0a03a8c0@fejleszt2>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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