Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best way to set the starting path?
Message
From
14/01/2005 21:57:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
14/01/2005 06:13:15
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
00977105
Message ID:
00977424
Views:
20
Using the Registry seems problematic to me, mainly because it is tricky to transfer options from one place to another.

Since you work with databases, storing data in databases is a good option.

Another interesting option is a text-file, which might be an INI file. This is a good option if you want some options to be accessible for a user from outside of your program, i.e., the user can change some options without needing anything more than NotePad.

>Dear All,
>
>Method 1
>Using Registry of Windows
>
>Method 2
>Using local table to register the path?!
>
>Method 3
>Using where the exe or app fire up path... I forget how, but sure it is mentioned in years ago!
>
>Method 4
>Setting Home directory... I haven't dig into the reasons, sometimes, it asks where the file or program is...
>
>
>Best regards,
>Aaron
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