>Durnit. I'll have to put my #include for my application header into my SetEnvironment procedure (which is called by default from each form when it is created) - extreme overkill!
>
>Another wishlist item for VFP7: let us use include files properly (ie. in the runner program).
>
< snipped >
Nigel,
The above won't work because remeber the _INCLUDE file contains compiler constants that are not replaced on the fly (as this technique would indicate).
As Roi said, you have to add the file to every form, menu, class library and PRG. I have a utility that will do it for all but the PRGs. I could post it here or send it to you, if you're interested.
Let me know.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao