Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting if running from a .app file
Message
 
 
To
20/04/2011 12:36:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01507913
Message ID:
01507940
Views:
57
>>>>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform