Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function ADIR()
Message
From
10/12/2003 14:02:13
 
 
To
10/12/2003 13:21:17
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00857766
Message ID:
00857796
Views:
28
This message has been marked as a message which has helped to the initial question of the thread.
>I have had a problem with Adir(). I am trying create a array with all files JPG in one diretory. This directory have 15383 images. Whem I create this array, fox give me this message: "Invalid Subscript reference".
>What I can do to read all files in this directory?


Boa tarde Rômulo.

That's is because you are hitting the limit of VFP array elements.

One way around it is to use WSH. The late great Ed Rauh wrote a neat sample of directory recursion that will give you an idea:
http://fox.wikis.com/wc.dll?Wiki~WindowsScriptingHost


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform