Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sequence to open a file
Message
De
27/01/2015 15:55:53
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
27/01/2015 03:14:50
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01614359
Message ID:
01614413
Vues:
42
>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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform