Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
All methods disappeared
Message
De
24/09/2015 00:09:58
 
 
À
23/09/2015 23:39:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01625013
Message ID:
01625015
Vues:
81
>>VFP 9
>>I just lost a day's work when all methods in a large class library went blank.
>>I have a back up from yesterday but all of today's intense work is gone.
>>Every method in the class library is there but with no code.
>>Arggggh!
>>Any ideas before I start over?
>
>Make backup copies of what you have now before you do anything else.
>
>You could try opening the VCX as a table, then looking at the memo fields to see if your code is still there.
>
>Look in your temp files folder for any files later than yesterday's backup. Of those that look about the right size, try renaming them to YourClassLib.VCX and see if you can open them in VFP (either as a classlib or as a table).
>
>If you have a recently built EXE or APP that includes that classlib it might be possible to extract it from there.
>
>If it looks like there may be code in your VCX but for some reason it doesn't show up in the VFP IDE, you could try renaming your FOXUSER.* files in case something got corrupted there.

No apparent luck in the temp folder.
I backed everything up as you suggested
Here's what's weird:
There are 4 classes in the vcx. 3 are OK, but all the code in the methods of the other one has disappeared.
The methods and properties are all there, but the code is gone.

I can merge the good classes with the backup class for the bad one, but I'll have to redo a lot of work.
Fortunately, it's all fresh, so I should be OK
Well, it's been a while since something like this has happened.
I guess I was due.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform