Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FILE() problem
Message
 
 
To
16/07/2002 22:20:31
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00679449
Message ID:
00679460
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform