>>>I'm using VFP 7.0
>>>
>>>I've just discovered that all my vcx and scx files have a path in the CLASSLOC field.
>>>
>>>Is there a way to get rid of it without editing each table?
>>>
>>>How can I prevent that in the future?
>>
>>You can't. If your class folders for the class libraries, forms, etc., all occur under the folder where your project resides, it should just be a relative path, not a full path.
>
>What am I missing here?
>
>In the first message you said "Open up your form as a table and see where the CLASSLOC field is pointing. If it has a path in there, you'll have problems."
What I thought you had was a path to the FFC classes, probably above the hierarchy of your project:
C:\Program Files\Microsoft Visual FoxPro 8\FFC
C:\yourproject\classlibs
In that case, you'd more than likely have a complete path, including "C:\", but in some cases, I've seen this as a relative path, too, like this "..\Program Files\Microsoft Visual FoxPro 8\FFC"
>
>So I went in and deleted all the paths (they were all relative). When I tested in development mode, they still worked, but wouldn't run in Runtime.
>
>Also discovered that each form didn't have a parent class in the Class Browser.