vrBDataBase
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Oct 9 14:10:33 CDT 2007
On 9/10/07 6:32 PM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:
> Hi List,
>
> euhm, I 've been following this thread all day without realising that
> it is about RB connecting to VServer embedded.
>
> Did I understand this correctly ? Because we are connecting to a
> VServer embedded all the time like this
Bart, actually you need yet
> Valentina.Init(3*1024*1024,"macserial","Vwinserial","linuxserial")
Valentina.InitClient()
On MAC this is empty it seems, but on windows init Socket lib.
> Try
> if isServer Then
>
> Dim myConnection As VConnection
> Dim mySRV As VServer
>
> myConnection = New VConnection(host,"user","password",port,
> 10,"embedded string")
>
> myConnection.Open()
>
>
> if myConnection.IsConnected Then
> Super.VDatabase(myConnection)
> end if
>
> Else
> Super.VDatabase
> end if
> Catch Err As VException
> MsgBox("Error in Create ValDB: " + Err.Message)
> end Try
>
> mind you this method comes from a subclass of ValentinaDB
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list