Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lost file
Message
From
24/10/2005 21:25:42
 
 
To
24/10/2005 12:18:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01061624
Message ID:
01061730
Views:
12
>My application has an external prg file that is used to execute a complex SET FILTER TO statement. I have a menu item to execute the prg as in DO SPECIAL_FILTERS. This works fine in the development environment, but in the runtime environment I get a 'file SPECIAL_FILTERS.PRG does not exist' error. This same error occurs if I include the full path to the file as in DO 'c:\program files\myapp\SPECIAL_FILTERS'. The file is definately there. Why can't the application see it?
>
>
>Thanks

There are several solutions to running a PRG from within a compiled
application.

If you are running an older version of VFP, you can use Randy Pearson's
CodeBlck.PRG which will effectively run an uncompiled PRG.

With newer versions of VFP, you can use the COMPILE Command.

Look at
http://fox.wikis.com/__snapshot/TheLimitsofMacros.htm
for some more info.
Previous
Reply
Map
View

Click here to load this message in the networking platform