FC 7 Issue

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Aug 4 18:23:18 CDT 2005


On 8/4/05 5:41 PM, "Bob Keeney" <bkeeney at everestkc.net> wrote:

> First the good news.  No hard crash using the class way.
> 
> Now, the bad news.  I get a hang when trying to open the database.
> Here's the code I'm using:
> 
> ======================
>    Valentina.InitClient()
>    dim f as FolderItem
> 
>    f = GetFolderItem( "BKeeney.vdb"  )
> 
>    gdb = new CDatabaseClass(Host,UserName,Password )
> 
>    try
>      gdb.Open( f )  <-------------Hang and no error
>    catch err as VException
>      gdb.Create( f, EVdbMode.kDsc_Dat_Blb_Ind , 32 * 1024 )
> 
>      gdb.SetDefaults
>      gdb.SchemaVersion = kSchemaVersion
>      gdb.close
>      gdb.Open(f)
>      return true
>    end
>   =========================
> 
> No files are created.  This is the correct way of doing it, no?

What means no files are created ?

Do you have db files already on disk ?
If no, then you need call not open() but create at first.


-- 
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-beta mailing list