>>And sometimes my App generates an error when custom method contains
>>command DO Form ... ("File ...scx does not exist"). Exe file works well
>>and even if after the error I reload VFP, the error is gone and reveal
>>again after I rebuild app next time.
>>Surely, this error is not critical but it's interesting to know: did
>>anybody get it and how to treat this situation?
>
>I get this error a lot when I forget to get into the correct directory -- does one of your classes have a CD or a SET DEFAULT TO? Or, does it need one to get into the directory where your class lives?
If you store your classes in vcx files and include those files in the project manager, then the project can call any class in the vcx file without having to specify defaults, paths etc.