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

If you have the data path stored in an INI file or the Registry, you can give the users an interface to change the data path.

However, if they move it and don't use your interface to tell the application what the new path is, then you will have to prompt them for it. You can then store the new data path in the INI file - preferably with the UNC name instead of a drive mapping, unless your client has standardized network drive letters - then you'll only have to prompt them once.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform