Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User changing data directory
Message
 
 
To
11/12/2000 14:22:13
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00451750
Message ID:
00451757
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform