[Gambas-devel] Re: Gambas-devel digest, Vol 1 #600 - 2 msgs

marcelomiranda at ...293... marcelomiranda at ...293...
Fri May 6 01:53:00 CEST 2005


Hi,
congratulations gambas developers!!!
Congratulations web site http://www.kudla.org ! Tanks for rpms packages
for Mandrake Linux 10.1.

I have sucessfull connection with gambas and postgresql.

Se code below, in order:

sub main()

DIM hdb AS NEW Connection

hdb.Name = "dbtest"
hdb.type = "postgresql"
hdb.Login = "marcelomiranda"
hdb.Password = "mypassword"
hdb.Open
PRINT "Databases: " & hdb.Databases.Count
PRINT "Tables: " & hdb.Tables.Count
PRINT hdb.Port
PRINT hdb.Users.Count
hdb.Close

end sub

I not hdb.host used, not sucessfull!!!
If print hdb.host, hdb.host is null printed.

Bye, my friends. Tanks!

Marcelo Miranda
marcelomiranda at ...293...
mirandamarcelo at ...307...



AVISO-------------------------------------------------------------
Esta mensagem pode conter informacao confidencial ou privilegiada.
Se voce nao for o destinatario ou a pessoa autorizada a receber
esta mensagem, nao pode usar, copiar ou divulgar as informacoes
nela contidas ou tomar qualquer acao baseada nessas informacoes.
Se voce recebeu esta mensagem por engano, favor avisar o remetente
imediatamente, respondendo o e-mail e em seguida apagando-o.
Obrigado pela cooperacao.

DISCLAIMER--------------------------------------------------------
This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose or take any action based
on any information herein. If you have received this message in
error, please advise the sender immediately by replying to this
e-mail and delete this message. Thank you for your cooperation.

------------------------------------------------------------------
This email was sent using SquirrelMail - http://squirrelmail.org




More information about the Devel mailing list