Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid subscript reference
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01173721
Message ID:
01173823
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform