>>>>I can get all JPG files into cursor, but I'm afraid it may be slow. But since Filer and ADIR both returns weird results I don't have a choice. I also have to scratch all my code and start fresh, which is very upsetting, since I already spent few days in total working on this program... :(
>
>I suggest you take this piece of code that grabs the filenames and make it a separate module. It can be more easily repaird later. Do not blend it with some other code - such as the code that displays the files.
I was thinking of that. Say, we create the file at night with all the files. However, the files are added frequently to the folder. Since I'm using VFP8 I can not have a file monitor. That's actually another good reason to upgrade <g>
If it's not broken, fix it until it is.
My Blog