Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path statements for software
Message
From
19/12/1997 06:08:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00066882
Message ID:
00067146
Views:
30
>What are the rules about path statements when you working on software that will distributed?
>
>should you set the path for c:\subdir\exe before running setup wizard ?
>
>I didn't change my path statements and it seems that some screens run fine, while other have
> trouble finding objects.
>
>Any thoughts????
>
>Thanks
Hi,
After building your app tree, either in config.fpw (if you want to be able to change it without rebuilding exe - way I prefer) or in startup add path statement as follows :
..\..\AppDir\data
..\..\AppDir\bmps && If excluded
..\..\AppDir\report && If reports are excluded changes would be easier
..

- In config.fpw -> path=data;bmps;report;...
- In startup -> set path to data;bmps;report;... && Hard coding could mean rebuilding exe for just a new dir
This way your app is transportable across drives and dirs. Both are relative to AppDir.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform