How to put icons on other files (still problem)

Ruslan Zasukhin sunshine at public.kherson.ua
Sun May 16 10:32:46 CDT 2004


On 5/16/04 7:50 AM, "chuck hinkle" <chuckbo at hinkles.us> wrote:

> 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.

Looks to be.

V4RB get only path from folder item.
May be there is sense add extraction of mac type if this is possible.


>>> 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

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list