[V4RB] Database file named '$$Testfile$$' and extention not
honored
Stan Busk
maxprog at mac.com
Mon Jan 16 13:38:43 CST 2006
Hi,
The '$$Testfile$$' problem is gone on v2.1 final.
However v2.1 final continues stripping the file extension I provide.
I pass the FolderItem 'myFile.myExt' to the create function and I get
'myFile'.
Because of that, during file creation I get Valentina default icon
rather than mine.
Is it possible to tell the create function to create a file with my
extension?
Using the extension may fix all my icons problems.
Stan
> 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]
>
>
> _______________________________________________
> Valentina-beta mailing list
> Valentina-beta at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina-beta
More information about the Valentina-beta
mailing list