Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding a file with foxpro
Message
From
08/09/2003 10:47:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
08/09/2003 10:31:06
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00827090
Message ID:
00827098
Views:
20
>Hello, i have a form from where i need to place an excel file and save it, i was thinking in when i'm going to save a record i need to find the file first and then save the path and the name file in order to open it from vfp (i know how open an excel file from vfp, but i don't know how to do the first part i mentioned before.), how can i do this?
>
>Thanks.

adir() will give you a list of files in a certain directory. If you need to scan subdirectories, you can use recursion. I think WSH or API solutions would be simpler in this case, but I don't know very well how to use them.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform