Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In VFP environment or stand alone
Message
From
30/05/2008 10:17:30
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01320535
Message ID:
01320540
Views:
24
This message has been marked as a message which has helped to the initial question of the thread.
Hi Moises,

_vfp.startmode should do the trick


>Is it possible to detect whether a prg is running into VFP environment
>or as a stand alone generated .exe ?
>
>I need something as:
>
>***********************************************
>If program_is_running_under_vfp_environment
>
>do nothing
>
>If program_is_running_as_a_standalone_exe
>
>RED EVENTS
>
>*************************************************
>
>The problem is that read events makes my command
>windows desappear, and I don´t need it at developing time
>
>Moises
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Previous
Reply
Map
View

Click here to load this message in the networking platform