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