Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tell if app run from within VFP?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01506201
Message ID:
01506213
Views:
69
>>>I have an app with mymain.prg as the "main" program.
>>>
>>>In the command window I can type in DO MYMAIN.PRG
>>>
>>>Is there anyway I can tell that I ran the app with the DO command as opposed to running the exe?
>>
>>Sys(16,0) ?
>
>That did the trick - thanks!

See also

_VFP.StartMode
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform