>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