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

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.

On Apr 26, 2006, at 13:07, Sven E Olsson wrote:

And you write Does it mean...
It looks that you meaning in PhotoShop you could select an .html file, but you can't, so your text is misleading, and perhaps thats the meaning. (Checked in Photoshop CS)


--
David Glass - Gray Matter Computing
graymattercomputing.com - corepos.com
559-303-4915

Apple Certified Help Desk Specialist

_______________________________________________
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