>>>>I made an EXE and set path to tell vfp where the data
>>>>will live. The data lives on a network drive and the EXE lives on local drive. The EXE finds the data, but when I try and quit, I am getting a error message saying:
>>>>Object myObject is not found. In Debug, the line of code this error message reflects is: THISFORM.myform.ENABLED=.T.
>>>>
>>>>help
>>>Does the error occur if the data is put on the same drive/path with the exe?
>>
>>I found the problem. When I change the PATH in the program, my program
>>has problems finding PUBLIC vars and other things. Since all I want to
>>do is set the location for a data path, I thought I would do a
>>OPEN DATABASE mydata from my program, but that seems to change my path
>>and my program can not find things. Any other suggestion?
>
>Setting the path should not have an effect on public variables. Are you using any *.mem files? If so check to see if mysetpath got saved to it, possibly overwriting the current value. If you are using a *.mem file and you do not do a RESTORE from memfile ADDITIVE, it wipes out any variables currently in memory.
thanks Larry... the problem was the RESTORE ADDITIVE.. thanks for your
help... ran into this problem last Friday and I just could not think anymore... I read your message this morning (Monday) and fix the problem... thanks again...