Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adir
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Re: Adir
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01248050
Message ID:
01248051
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform