Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Will FILE() always find a file in .EXE?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01396423
Message ID:
01396424
Views:
155
This message has been marked as the solution to the initial question of the thread.
Yes FILE() will always find a file embedded in EXE as long as it run from inside EXE. If it's executed from external FXP/APP, it'll not see files inside EXE.

>
>I included a small .DBF (free) file into my application .EXE. This file is supposed to be a semaphore to run certain (custom) procedure if the file is present. So I am using code
>
>
>if file( "mytokenfile.dbf")
>   *-- Use custom procedure
>endif 
>
>
>But I seem to remember reading in one of the messages here that sometime FILE() may not "see" the file in the .EXE. Am I confusing something or this case is possible?
>
>Thank you.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform