Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In VFP environment or stand alone
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01320535
Message ID:
01320538
Views:
12
This message has been marked as the solution to the initial question of the thread.
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform