Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
From
30/11/2006 17:12:21
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173721
Message ID:
01173913
Views:
9
>>>>>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>

I don't mean make it a separate exe, but a separate piece of code called from elsewhere. Maybe create a cursor then call this code, passing the cursor name.

Then that piece of code could be used in a separate monitor exe if needed.
Previous
Reply
Map
View

Click here to load this message in the networking platform