[V4RB] Database file named '$$Testfile$$' and extention not
honored
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Jan 16 14:26:11 CST 2006
On 1/16/06 2:13 PM, "Ruslan Zasukhin" <sunshine at public.kherson.ua> wrote:
>> The '$$Testfile$$' is not mine. It is a name set by Valentina during
>> creation. I name my file 'myFile.myext'
>
> So you give normal db name but Valentina create bad ?
> What version do you use ?!
>
> If fc3 then test 2.1 final please.
>
> If 2.1 cause this problem then ... How I can reproduce ?
> Can you change V4RB example to reproduce this ?
Stan,
I have check V4RB/Examples/Common/MacOS_Creator.rb
---------------------------------------------------
dim f as folderitem
// obtain folder item for file in the same folder.
f = getFolderItem( "DataBase1.vdb" )
// mDatabase in this example -- property of this window.
mDataBase = new VDataBase()
// we inform instance of database about signature and [optionally]
// we must do this BEFORE Create() call.
mDatabase.Creator = "MYAP"
mDatabase.SetMacTypes( "Mtp1", "Mtp2", "Mtp3", "Mtp4" )
// We will keep db in the one disk file
mDataBase.Create( f, 4, 32 * 1024 )
---------------------------------------------------
You should set Creator/Type BEFORE db.Create() call.
--
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