pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
VB and ADO
3+ messages / 3 participants
[nested] [flat]

* VB and ADO
@ 2000-08-26 02:03 Santiago <santiago@bci.com.ar>
  0 siblings, 0 replies; 3+ messages in thread

From: Santiago @ 2000-08-26 02:03 UTC (permalink / raw)
  To: pgsql-interfaces

Hi !!!!.
I have some problem with the connection ADO and Visual Basic.

please help me

This is my code

dim conecction as new connection
dim rstable as new recorset
sub main
    set conecction = createobject("ADODB".conecction)
    connection.open "dsn=kion"
end sub   

When find in the ODBC kion, this is a problem
With DAO function very good.

ja, Sorry for my english !!! I speak spanish :)

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* RE: VB and ADO
@ 2000-08-28 18:30 Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 3+ messages in thread

From: Dave Page @ 2000-08-28 18:30 UTC (permalink / raw)
  To: pgsql-interfaces


> -----Original Message-----
> From: Santiago [mailto:santiago@bci.com.ar]
> Sent: 26 August 2000 02:03
> To: pgsql-interfaces@postgresql.org
> Subject: [INTERFACES] VB and ADO
>
>
> Hi !!!!.
> I have some problem with the connection ADO and Visual Basic.
>
> please help me
>
> This is my code

> dim conecction as new connection
> dim rstable as new recorset
> sub main
>    set conecction = createobject("ADODB".conecction)
>     connection.open "dsn=kion"
> end sub   

> When find in the ODBC kion, this is a problem
> With DAO function very good.

> ja, Sorry for my english !!! I speak spanish :)

Try something like (you can lose the ADODB. 's if you only reference ADO in
your project):

Dim cn As New ADODB.Connection
Dim rs As New ADODB.Recordset

Sub Main
  cn.Open "DSN=kion"
  rs.Open "SELECT * FROM pg_class", cn
End Sub

Regards, 
  
Dave. 
  
-- 
Disclaimer: the above is the author's personal opinion and is not the
opinion or policy of his employer or of the little green men that have been
following him all day.
http://www.vale-housing.co.uk/ - http://www.pgadmin.freeserve.co.uk/



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* VB and ADO
@ 2000-09-25 13:30 Santiago G. Cirone <santiago@bci.com.ar>
  0 siblings, 0 replies; 3+ messages in thread

From: Santiago G. Cirone @ 2000-09-25 13:30 UTC (permalink / raw)
  To: pgsql-interfaces

HI !
I have the ODBC for Windows 32 bit.
Anyone use ADO (Visual Basic) With Postgres 6.5 ????, plese send me a code of conexion and recordset.


Thanks !

Santiago 

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2000-09-25 13:30 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-08-26 02:03 VB and ADO Santiago <santiago@bci.com.ar>
2000-08-28 18:30 RE: VB and ADO Dave Page <dpage@vale-housing.co.uk>
2000-09-25 13:30 VB and ADO Santiago G. Cirone <santiago@bci.com.ar>

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