Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adir
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Re: Adir
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01248050
Message ID:
01248051
Vues:
22
>Hi All,
> I am using the following code to get the file attribute based on file extension in a given file path:
>
>gnFilenumber = ADIR(gdir,"D:\Zach\Alamo\Parts\33102dcp\", '*.hsp')
>
>The value in gngnFilenumber is 0. I know there are files in D:\Zach\Alamo\Parts\33102dcp\ with .hsp extension.
>
>
>Can someone please tell me what am I doing wrong?
>
>Thanks
>
>MA

I know what you're doing wrong :) You're not checking Help file.

lnFileNumber = ADIR(laFiles,'D:\Zach\Alamo\Parts\33102dcp\*.hsp')
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform