Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing class library references for objects
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00151484
Message ID:
00151488
Vues:
20
Kevin,

Open the VCXs or SCXs containing these objects as tables. That is, USE MyVcx.vcx. You can then change the Class and ClassLoc fields directly. You could easily write a program to open all of the class libraries and/or forms and make the changes automatically.

>Boy I hope someone has a brilliant idea for this problem.
>
>Recently I inherited an application that was created using two different class libraries. The problem is that these libraries were used for other applications and have tons of junk in them causing a massive slow down of this application. I want to remove both of these class libraries from this application, but some of the objects are from these class libraries. What I need to do is remove all references to these class libraries so that they are not compiled or referenced at all. The only way I know to do this is to go through the application and delete every object that has either of these classes referenced in it's ClassLibrary Property. These objects have not been modified at all, they are just subclasses of the baseclass.
>
>Is there anyway I can change the reference of these objects to be the objects of the base class short of deleting every single one and recreating the object from the baseclass? And if I could find a way to change the class library property to none, would it pick up the objects as now belonging to the base class?
>
>AHWBGA!
>
>TIA!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform