vrBDataBase -- ADDED for 3.5 b2

Joseph Morgan joseph at checkos.com
Tue Oct 9 21:11:44 CDT 2007


Ok, I downloaded 3.5 b2. But I can't figure out how to access the
new properties (port,connectiontimeout,embeddedserial)

It seems I could do:
dim myVRDB as VRBDataBase

myVRDB = new VRBDataBase()
myVRDB.Host = "myhost"
myVRDB.Password = "mypassword"
myVRDB.UserName = "myusername"
myVRDB.DatabaseName = "myVRDB.vdb"
myVRDB.port = myPort
myVRDB.connectionTimeOut = myConnectionTimeOut
myVRDB.embeddedSerial = myEmbeddedSerial


if myVRDB.connect() then
//begin working with database

end if

Is this correct?
Please forgive all the questions. I know this is how most realbasic  
users
will want to connect to the database server. (its the way we're used  
to).

Thanks


More information about the Valentina mailing list