Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File not found...
Message
From
04/07/1998 23:56:52
 
 
To
04/07/1998 23:31:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00114300
Message ID:
00114307
Views:
12
to add to that ,
in the run time you can evaluate a program on a line-by-line basis
and if you intercept FOR and IFs etc. you can also handle those
If I remember correctly thre is somethig called Codeblock (check the download corner) that lets you execute code in run time

Arnon

>The .prg must be compiled to an .fxp file in order to run it. When you're in VFP, this is done automatically (by VFP). When you run the EXE, only the runtime library of VFP is loaded and the runtime library doesn't include the COMPILE command (which is run implicitely by VFP when you're in the development environment).
>
>So, you cannot compile from an exe, so, you cannot create and run .prg from an exe.
>
>The error message you have means that the .fxp file does not exist.
>
>Vlad
>
>>I have a method that creates a .prg programatically then runs it. It works fine as an app or if I run the .exe with 'set step on' from the VFP window. Buut, when I run the .exe stand alone, I get file does not exist errors when I call SET PROC TO myprog.prg ADDITIVE and DO myprog.prg. I have checked the curdir() and PATH and the filename. Everything seems to be exactly the same as when run in the VFP window.
>>Also, the default directory and path are always set the same way when my environment object is instantiated. Am I missing something?
>>
>>Eric K.
Previous
Reply
Map
View

Click here to load this message in the networking platform