Quote Originally Posted by Mc Brain
Isn't it easier to ask for the .FileName's lenght?
Interesting.

I'm doing that elsewhere in the program for other purposes, such as if there is a .jpg out there that is trying to be opened -- if it has a length of 0 I just bypass it (I'll have to code up a routine to go and delete it, but for now the fast & dirty way was just to bypass it). I'll keep your method in my snippets and try it in the future, but for now Joacim's fix has really helped me and it work, so I'll stay with it.

Thanks.