Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database included keep the old path
Message
From
11/04/1997 15:00:25
 
 
To
11/04/1997 14:36:57
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00028012
Message ID:
00028013
Views:
37
>In my EXE, I have included a database. Now, when I run the EXE, it tries to locate each table part of it in the previous path of the development.
>
>My develpment project is in D:\UT. In that directory I have ADMIN.DBC. The tables part of ADMIN.DBC are in D:\UT\DATA\ADMIN directory.
>
>At run time, I have the same structure under D:\UTNAV, which is D:\UTNAV\DATA\ADMIN. I can open the database, but all the references for each table still point to D:\UT\DATA\ADMIN.
>
>How to solve this problem?
>
>I never had this problem before because the database was not included in the EXE. Now, that I have it there, it tries to open each table related to the previous path.


Never tried it either, but why not place the dbc in the same directory where the tables are? I always do it. I did try once to include a logonid file in an exe and I was not allowed to edit the file afterwards.

Carlos
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform