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:
01173902
Vues:
12
Nadja! I know You a long time so I try to answer

>>>Filer can not work with masks like *Letters*.jpg
>This is my test program (I commented the Filer part). Do you see, where I'm wrong?
>
>*!*	#define crlf CHR(13) + CHR(10)
>*!*	oMyFiler = CREATEOBJECT('Filer.FileUtil')
>*!*	oMyFiler.SearchPath = "t:\jpg"
>*!*	oMyFiler.FileExpression = '*e4*.jpg'
>*!*	oMyFiler.Find(0)
>*!*	=MESSAGEBOX(oMyFiler.Files.Count)
>*!*	_cliptext = ""
>*!*	FOR EACH loFile IN oMyFiler.Files
>*!*		_cliptext = _cliptext + loFile.Name + CRLF
>*!*	NEXT
You say that filer can't work with the mentioned mask.
I don't see it in your example. Never say that you haven't
tested as a final "true"...


What is purpose the next line?

>cliptext = _cliptext + loFile.Name + CRLF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform