Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding a file with foxpro
Message
De
08/09/2003 10:47:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/09/2003 10:31:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00827090
Message ID:
00827098
Vues:
21
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform