[bug report 2040] Vserver, NOTE 2. HOW TO write client/server apps

Joakim Schramm joakim at astrocalc.com
Tue Dec 12 19:45:45 CST 2006


Hi,

I don't know if this is the same on RB and in such case if it matter but
 
> >
> >>   dim connection as new VConnection("localhost", "sa", "sa")
> >>   connection.Open

In VB declaring an object in this way give NO CONTROL or posibility to check
status of object.

Have you tried to do this

dim connection as new VConnection("localhost", "sa", "sa")

Like this instead

dim connection as Vconnection

Set connection = new VConnection("localhost", "sa", "sa")

?

In VB this makes BIG difference, and it sounds almost as same type of
problems you can experience in VB if you do

Dim object as new ObjectClass

Just a thought :-)

/Joakim



More information about the Valentina mailing list