_INCLUDE is not retroactive. If set, all new forms and classes will pick up the setting automatically. If you have old forms/classes that you need to have configured, you have to do it manually.
>I set the DEFAULT INCLUDE FILE to myInclude.Ch in Tools->Options->File Locations. In this file I have
>
>#DEFINE GTest 1
>
>
>but when I test in a form
>
>#IFDEF GTest
> WAIT WINDOW "GTest defined"
>#ENDIF
>
>the wait window not appears. In VFP _include = "MyInclude.CH", but when I create an EXE file _include is "".
>
>How can I set a Header file for all my application? I don't want to put #include in all forms, programs & classes?
>
>TIA
>
>Boris
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao