Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
External file path problem
Message
 
 
To
04/07/2003 07:22:38
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00806911
Message ID:
00806964
Views:
24
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform