Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Corruption - Change of base class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00721541
Message ID:
00721623
Vues:
16
Willie,

Are you 110% positive that someone didn't change it via the class browser or hack the VCX directly?

USE TheClasslib.vcx
set deleted off
browse

just to see if there is a chance that there is an earlier version of the class marked as deleted. You can recover it by undeleted those rows and deleting the newer rows. Of course backup first.

There are also some conditions that if a class is brought up in the designer and the method code is all missing, close the designer without saving the class, clear all and try it again. The problem is that if you saved the class in that state you have in fact lost the code. You will have to retrieve it from a backup or your source control system.

>One of our classes in VFP7, for some reason lost all custom methods and properties. After USEing the vcx we discovered the base class had changed from form to formset.
>
>To avoid this happening again, what I want to know is why ? Has anybobody seen anything like this before ?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform