Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILE() problem
Message
 
 
À
16/07/2002 22:20:31
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00679449
Message ID:
00679460
Vues:
19
Alan,

If the PRG is in the project and it's not marked as excluded it'll be in the app/exe, so I'm not sure why you are testing to see if the prg exists. In your runtime I think you need to test for the existence of the FXP instead of the PRG.

>I am using FILE() to test for a .prg file's existence before running it. This is ok in my development environment, where the .prg exists on the search path, but when I compile the application into an .app file and run it in a 'live' environment (no .prg files) the FILE() function returns .F..
>
>Is there any way I can test for the existence of a .prg (or procedure) in an .app? I am using VFP 7 SP1.
>
>I guess the same will happen if I compile the application into an .exe, though I haven't tried it yet.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform