Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path Problems
Message
 
To
29/08/2000 23:28:08
General information
Forum:
Visual FoxPro
Category:
Project manager
Title:
Miscellaneous
Thread ID:
00410604
Message ID:
00410918
Views:
14
>OK, I'm running into a couple of issues with paths. The first is that I've tried setting my path: SET PATH TO "C:\projectname,C:\projectname\data,C:\projectname\forms,C:\proj..." in numerous places such as in the code that I set as main, in options from the designer window, and in form inits.
>
>Regardless, when something is called from the C:\projectname\reports folder (or forms, menus,...) the program can't find it.
>
>The second issue is that this program is intended for multiuser use, and I can't visualize how these paths are going to be manipulated when installed. IOW, what if they are installed on drive D:? I've already hardcoded the paths to be drive C:\whatever.
>
>I've started researching these issues in the msdn online help, but would appreciate a professional's point of view.
>
>Rodney

I use ini file. I get all my path in a 'Path' object and when I need, I do command like USE oPath.sData + "myTable" in 0 or something like Report form oPath.sReport + "myReportName". You could probably do too set path to oPath.sData;...
VFP gives some class in Registry.vcx.
Analystik Team
1430 Belanger
Montreal (Quebec)
Canada
(514) 278-2727
analyste@analystik.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform