Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting if running from a .app file
Message
From
20/04/2011 12:36:46
 
 
To
20/04/2011 11:24:03
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:
01507939
Views:
51
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform