X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0980C47638C for ; Tue, 13 May 2003 13:13:55 -0400 (EDT) Received: from mail.deltav.hu (mail.deltav.hu [213.163.0.192]) by postgresql.org (Postfix) with ESMTP id A654D476375 for ; Tue, 13 May 2003 13:13:49 -0400 (EDT) Received: from fejleszt2 ([213.163.10.103]) by mail.deltav.hu (Netscape Messaging Server 3.6) with SMTP id AAA20B0 for ; Tue, 13 May 2003 19:13:47 +0200 Message-ID: <00ac01c31973$03267010$0a03a8c0@fejleszt2> From: "=?iso-8859-2?B?U1rbQ1MgR+Fib3I=?=" To: References: <01C31876.2017E3F0.cgibbs@westmarkproducts.com> Subject: Re: Datasource-less connection (Re: DSN Less Connections with PG ODBC: Yes you can) Date: Tue, 13 May 2003 18:56:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=-19.1 required=5.0 tests=BAYES_20,ORIGINAL_MESSAGE,QUOTED_EMAIL_TEXT,REFERENCES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/10 X-Sequence-Number: 2910 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" 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 > >