How to put icons on other files (still problem)
chuck hinkle
chuckbo at hinkles.us
Sat May 15 23:50:12 CDT 2004
Jon,
thanks for the help. Now I see where I went wrong with the Type -- I was
setting it before the Create command. You make me think that Valentina's
Create must always override the type with Vdsc.
>> I've never been able to change the file type for my V4RB files. I live with
>> just changing the extensions and the creator. It is sufficient, if not
>> perfect.
>>
>
> You shouldn't live with it. Here's how I do it:
>
> //f = a folderItem, which will be my database
> if f <> nil then
>
> tempDataBase = new MyDataBase
> tempDataBase.Creator = "MYCR" // make creator
>
> result = tempDataBase.Create(f, 1, 2 * 1024 )
>
> f.MacType = "MYFT" //set file type
> ...
> end if
>
> Jon
More information about the Valentina
mailing list