Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set path without ini
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00902495
Message ID:
00902514
Views:
15
Alex
You have it, Our apps are located on an app server and our data is on a data server. I want the data to stay together includung the ini table but cannot get to the table because the path has not been established. I added a procedure in the main program to load the app object and catch any errors. I may be trying to thin my main to much. I thought there would be a way to keep as much code in the app class as possible. I don't want prg files hanging around that any developer can change. We are trying to use as much generic code as possible using table for data that needs changing so as not to have to recompile the app unless major changes are needed. Does this sound logical?
Thanks, Chuck

>>If you include that table into the project, the progarm should open it, I believe.
>
>Yes, but that would make it read-only, and what would be the gain from just directly hard-coding the path in the EXE? The idea he has, of an INI or a DBF is so the path can be changed at some time - I guess by the user or admin, or at least that's how I read it.
Extreme Programming = Plan -> Design -> Code -> Test
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform