Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I prevent path getting put into files?
Message
De
11/07/2003 17:45:48
 
 
À
11/07/2003 17:36:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00809421
Message ID:
00809448
Vues:
36
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform