[DUG] Windows7 - AppData and my dbase
PDS - John
john at padasy.co.nz
Sat Dec 5 19:07:27 NZDT 2009
Hi all
I'm running D7 on W7 and goes well, however.
This (old) app uses a Paradox dbase which I stored at C:\ Program Files
(x86)\PDS\KCM\Tables, all works fine.
However, I discovered that:
- the IDE uses the dbase located at C:\ Program Files (x86)\PDS\KCM\Tables
- the EXE uses the dbase located at
C:\Users\John\AppData\Local\VirtualStore\Program Files (x86)\PDS\KCM\Tables
Note 1: the TDatabase is assigned to the IDE's location.
Note 2: Making changes to the dbase by means of running the EXE
or the IDE alters only one or the other dbase's tables.
Questions:
1. Can anybody explain this behaviour - that the IDE points to
another location then the EXE?
2. Originally I copied the dbase at the time ONLY to the IDE's
location. How did the dbase get to the Users\... location?
3. When I remove the tables from the IDE's location (by means of
renaming the directory) and then run the EXE it can't find the tables, this
while it uses the other dbase tables. How can that be?
4. Setting the TDatabase's settings to
C:\Users\John\AppData\Local\VirtualStore\Program Files (x86)\PDS\KCM\Tables
results in an error due to using a path to the tables being too long.
Thanks for any help
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20091205/022673cf/attachment.html
More information about the Delphi
mailing list