>Hi all,
>
>can anybody tell me how i can determine within my Foxpro program whetehr it is executed from a executable or my Foxpro project? Is there a standard Foxpro procedure for this purpose?
>
>regards Erwin
You could try this:
if right(SYS(16),3)='EXE'
? 'Running from EXE'
else
? 'Not running from exe'
endif