Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
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:
01173823
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
Hi, Naomi!
Do You try to use Filer?


oMyFiler = CREATEOBJECT('Filer.FileUtil')
oMyFiler.SearchPath = "C:\0_vfp9edited\html"
oMyFiler.FileExpression = '*c-*.htm'
oMyFiler.Find(0)
? oMyFiler.Files.Count

It shown 5 files and it is a true.

And, after, just iterate through Files collection
FOR EACH ... IN oMyFiler.Files
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform