[V4MD Client] no error on bad connect

Martin Wright martin at kinetix.co.uk
Wed Jul 7 11:48:26 CDT 2004


Hi

When I try to connect to a Vserver with a wrong IP address I get no error,
so I can't trap it.

set gMyDB = new( xtra "VDataBase", "2.2.2.2", "sa", "sa", 15435, "",
mySerialNumber)
err = ValentinaError()
errStr = ValentinaErrorString()
OpenDatabase( gMyDB, dbPath )


The 4 lines above give me:

* V4MD *: Create_VDataBase...* V4MD *: DB_New...done
* V4MD *: ValentinaError...done
* V4MD *: ValentinaErrorString...done
* V4MD *: OpenDatabase...done

How can I trap this?

Martin




More information about the Valentina mailing list