Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I prevent path getting put into files?
Message
From
11/07/2003 17:45:48
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00809421
Message ID:
00809448
Views:
34
>>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."

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.
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform