How to put icons on other files (still problem)

jda jda at his.com
Sat May 15 12:46:14 CDT 2004


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