>>>>>Tim, where that #DEFINE ADAM_LOC is defined? Do you have any .H file included in that form?<<
>>>
>>>There was no included file in the form.
>>>
>>>There is a STRINGS.H file in each project. The message box is getting the errant message from the STRINGS.H in the directory that I copied from. My STRINGS.H has the correct ADAM_LOC variable and I tried Including it in my form, but it did not work. It still retrieved ADAM_LOC from the other directory. I has to be something to do with the BASE form, as there is no code in my form.
>>>
>>>??? Tim
>>
>>override the include file in the base form by adding your strings.h file to the form (form/include)
>
>Hi Dave. PMFJI, but regarding include files in forms, can you "include" the file in the form class? When I include it in the class, the instantiated form seems to ignore it and I have to include it in the instantiated form too. Am I missing something?
>
>Thanks,
>Bill
Bill, you have to include header file in instantiated form
Also, you have to do that not only in base form class, but in all subclassed form classes too.
(Sorry for intrusion, Dave... :)
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison