Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILE() returns .T. when included in EXE
Message
De
04/11/2011 17:52:25
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
 
À
04/11/2011 17:31:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01528126
Message ID:
01528128
Vues:
71
>>I'm sure this has been answered here before, but it's hard to find with search. I am using FILE() to check if a file exists at a specific location. This code has worked for years, but now I am including the file in question in the EXE. Now, FILE() returns .T. even though the file does not exist at the specified location. Is there a good way around this?
>
>You're right, that's known behaviour. I believe one workaround is to use ADIR( ).

That worked. Thanks.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform