Re: Postgre and Visual Basic

From: "Tim Clarke" <Tim(dot)Clarke(at)manifest(dot)co(dot)uk>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Postgre and Visual Basic
Date: 2006-03-07 15:02:36
Message-ID: 44D9FC40FD695B4E85F1C59965C27E0FAA4DED@man3.free2.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Are you having trouble connecting from VB? I have declared and ODBC DSN
"pgresearch" via ADO and used that:

Dim gcnResearch As ADODB.Connection
Dim rsUId As ADODB.Recordset

' open the database
Set gcnResearch = New ADODB.Connection
With gcnResearch
.ConnectionString = "dsn=pgresearch"
.Properties("User ID") = txtUsername
.Properties("Password") = txtPassword
.Open
End With

Tim Clarke

-----Original Message-----
From: pgsql-odbc-owner(at)postgresql(dot)org
[mailto:pgsql-odbc-owner(at)postgresql(dot)org] On Behalf Of dodol garut
Sent: 07 March 2006 14:48
To: pgsql-odbc(at)postgresql(dot)org
Subject: [ODBC] Postgre and Visual Basic

i need a sample of Visual Basic Project with PostgreSQL, anyone can help
me?
Trim's

ERIS RISO
Indonesia
Send instant messages to your online friends
http://uk.messenger.yahoo.com

Browse pgsql-odbc by date

  From Date Subject
Next Message Adnan DURSUN 2006-03-07 15:02:57 Re: Postgre and Visual Basic
Previous Message dodol garut 2006-03-07 14:47:46 Postgre and Visual Basic