How do you deal with FSO file.type method returning "JPEG Image" on one PC
and "DELL Image Expert Picture" on another when the file's extension is
jpg? Must I parse the file.name property to be sure of its type?

thanks
LJB

Re: FSO file.type by ljb

ljb
Wed Jan 05 09:58:39 CST 2005


"ljb" <.> wrote in message news:u0jL6tz8EHA.3336@TK2MSFTNGP11.phx.gbl...
> How do you deal with FSO file.type method returning "JPEG Image" on one PC
> and "DELL Image Expert Picture" on another when the file's extension is
> jpg? Must I parse the file.name property to be sure of its type?
>
> thanks
> LJB
>
>

Sorry to bother everyone. I found a solution using GetExtensionName.

Ucase(ofs.GetExtensionName(objFile.Path)) = "JPG"