Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR and getting multiple file extensions
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01222395
Message ID:
01222460
Views:
21
Hi Cecil,

I designed a special form with a grid for picking up files. Please check message Re: Get files into a ListBox Thread #1218095 Message #1218124 and if you're interested send me an e-mail, I'll send you two supporting classes needed.

Sadly Frank forgot to update his IconBuddy class here on UT with recent additions. I think I'm going to try to contact him and remind about this.

UPDATE. I sent Frank an e-mail using his e-mail from his member's profile. Let's hope for the best.

>If I wanted to get multiple file extensions, such as ".001", ".002" and so on up to maybe ".199" into the ADIR() array, how would I pick that up?
>
>The below is how it is now, but you may see that that limits me to only 99 different file extensions. Yes, this is really a naming convention for these Graphics files.
>
>
>cFiles=cJPGCode + ".0*"	&& Example: "BM00&)TZ.001"
>* Get the number of IMAGE files for this person.
>* Place each filename into an array.
>nNumberOfImageFiles=ADIR(aFileName, cFiles)
>
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform