Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
External file path problem
Message
 
 
À
04/07/2003 07:22:38
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00806911
Message ID:
00806964
Vues:
23
You can use
STRTOFILE( FILETOSTR("config.trk"), "config.fp")
. The FILETOSTR function will find config.trk file inside EXE.

>I was doing that in fpd26 and don't have any problem:
>
>add file config.trk in project.
>
>build exe and run exe another folder in another machine and do this command:
>
>copy file config.trk to config.fp
>
>In vfp8 if I copy exe on another machine with same folder .exe builded no problem. but if I run exe another folder vfp8 gives file not found error. if I use ?file("config.trk") it gives .t. but vfp8 .exe want to be same folder.
>
>Maybe I can open file with fopen() and copy then (I didn't try). but copy file was too easy.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform