On 26 apr 2006, at 22.33, David Glass wrote:

Well, Photoshop is moderately complex when it comes to opening files. It gives you the option of specifying a specific type, all readable types, or all files. If you select 'all files', it will attempt to open any file you select, and only after trying to open it will it indicate the file is not a valid image file.

Word acts the same way.

All I'm saying (and I'm not the only one) is that the only way to be sure your user has selected a file your application can handle is to check the file for the formatting your application expects and report success (continue processing) or failure (tell the user the file selection is invalid).


Yes, this is some to think about.

And in my case (that many say is wrong), I would like to help the user quick find the file. So I set .xml in my filter as steep one, steep two check it if a 'Word XML' file



You can set your filter up any way you want, but even that isn't going to prevent a user from changing the extension or the file type of an 'invalid' file so that it appears valid.

here I check in steep two inside the file (it is Word XML?)

Not really true, if you using RB, it was here the problem start...
To create a filter that only shows .xml files.

I get some ideas how to do it, but when it appears to be impossible, then it was easier to say it is Not Mac like.

Sven E Olsson



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to