Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Will FILE() always find a file in .EXE?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01396423
Message ID:
01396424
Vues:
156
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform