Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sequence to open a file
Message
From
27/01/2015 15:55:53
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
27/01/2015 03:14:50
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01614359
Message ID:
01614413
Views:
43
>Hi,
>
>i know this is nothing new but I'm puzzled
>
>I have an exe with a table compile into the exe.
>
>Running the exe I can open a table named as the on compiled into from a random path, sometimes it opens up the included one, or the one on the path where it was included from (I'm on the same comp).
>
>I do not see where the difference is. Any ideas?
>
>Thanks
>
>Lutz
>
>Update:
>
>I know about sys(2540), there is nothing changed

I have payed around bu now I'm confused.

I have file
C:\abcd\efg\klm.dbf

within my exe.

I do the following.
lcFile = GETFILE() && get C:\abcd\xyz\klm.dbf
?SYS(2450)  &&0 or 1, no diff in the following
?SET("Path") && no trace of C:\abcd\efg
?SYS(5)+SYS(2003) && no trace of C:\abcd\efg
?m.lcFile &&C:\abcd\xyz\klm.dbf
?FULLPATH(m.lcFile) &&C:\abcd\efg\klm.dbf
use (m.lcFile) && uses C:\abcd\efg\klm.dbf
What is wrong? I know this has worked for years and I have no idea what has changed.

Update
it is always the file included into the exe. I've renamed the path as well as changed the content.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform