Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling unreferenced in a project prg from exe
Message
From
07/04/2010 02:50:31
 
 
To
07/04/2010 00:36:53
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01459097
Message ID:
01459103
Views:
96
This message has been marked as the solution to the initial question of the thread.
>A prg is not included in a project file.
>Is it supposed to work at all when exe is launched from command line ?
>It does work for exe build/run in IDE.
>
> do &xprg
>
>where xprg full path to prg file
>
>Set path to justpath(xprg)
>or
>cd justpath(xprg)
>
>don't help.
>
>The error :
>File 'xyz.prg' does not exist

Michael,

You have to compile it first
compile (xprg)
do  (forceext(xprg, ''))
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform