>>>>So, what test can I use in RunningFromApp() to know if the file that is running is .app, .exe, or a manually launched prg?
>>
>>Look at:
>>
>>_VFP.Startmode
>>
>>
>>Gary.
>
>No luck... StartMode returns 0 in both cases; whether running from the .app file or from my boot.prg.
Try ASTACKINFO()
--sb--