How to put icons on other files (still problem)

Ruslan Zasukhin sunshine at public.kherson.ua
Sat May 15 10:12:27 CDT 2004


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

> 
> Keith,
> by forcing an extension of .gdb, it's working.
> I ran into two extremely weird items along the way.
> 
> 1) Even though I've changed the MacType in the file type dialog box to
> "Dash" and I have a RB statement F.MacType = "Dash", after I Xray the file
> that gets created with the Valentina .Create method, its Mactype is still
> Vdsc.

I remember function

    SetExtentions()

But I do not remember function in V4RB which allow assign filed types for
MacOS.

Hmm, how then Valentina developers live ?


> 2) I had a test to see if f.name ended with .gdb, and if it didn't, I
> appended the .gdb to the f.name. This works if I put a break command before
> the test and single-step through the code. But if I'm not tracing through
> the code, the test fails (it thinks that there's a .gdb extension even
> though there isn't), and the program creates the file without any extension.
> I ended up having to test  f.name to remove the extension if it finds it and
> then to append it back into place. But now I'm wondering if I'm going to end
> up with files named FILENAME.gdb.gdb. Doesn't matter, I suspect, because at
> least it has the right icon and maps to my program.

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