Open Database on Server

Beatrix Willius bwillius at gmx.de
Tue Oct 30 12:09:09 CDT 2007


Hi Bart,

thanks for the code (despite the flu).

Am 29 Oct 2007 um 21:49 schrieb Bart Pietercil  
<bart.pietercil at gmail.com>:

> And then a call to this
>
> Function OpenServerDB(DBName As String) As Boolean
>    Dim f As FolderItem
>
>    f = GetFolderItem(DBName)
>    Try
>      Open(f)
>      Return True
>    Catch Err as VException
>      MsgBox("Error while Opening ServerDB: " + Err.Message)
>      Return False
>    end Try
> End Function

This can only work, when the application resides in the same folder  
as the database and this is never the case.



Rusland wrote:

> Note that all V4RB Examples can work in client/server mode.
>
> For this only require switch flag
>         gClient = true
>
> Read more in V4RB / Docs /  Example Guide.

Ruslan, you are a great programmer, but your manuals are very sub- 
optimal. The examples for ADK have a valid folderitem. And the  
examples for the server don't open a database! So please: how do I  
obtain a valid folderitem to open a server database when I only have  
an IP address.

Anyone? What am I missing?






Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.



More information about the Valentina mailing list