IF _VFP.Startmode <> 0
READ EVENTS
ENDIF
>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
--sb--