Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User changing data directory
Message
 
 
À
11/12/2000 14:22:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00451750
Message ID:
00451757
Vues:
15
>I have an app designed under the following hierarchy:
>
>app c:\myapp\myapp.exe
>data c:\myapp\data\*.dbf,*.cdx
>
>The user, upon installation, may want to change the data to reside on the v: drive and may want to later move it to the m: drive. How do I handle this without making the user find the data everytime they run the app?

autoMAGICally? If they just go to Explorer and drag the data folder to another drive and/or path you have no other choice but to prompt them for the location of the data. Any of the VFP or API functions to locate a file only work if the file can be found along the path environment variable.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform