Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recovering Corrupt forms caused by computer losing power
Message
De
22/01/2001 12:13:45
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00466497
Message ID:
00466711
Vues:
34
Doug,

>I recently ran across this problem when a memory stick started to fail on the developer workstation, and again with a power failure.
>
>The files, after editing, would go into an infinite loop and create huge temp files in the /forms/ directory, requiring a forced halt to FoxPro.
>The only workable solution I have foound so far is to delete the offending SCX/SCT file and restore a back up copy.
>
>At the end of each day, I save a copy of all my forms to another hard drive, in addition to the nightly backups (which can backup a corrupted file)

>If there is a recovery utility somewhere, I would love to try it.

I asume you've build an executable of the form. If you've got the debuginfo included you can do the following.

1. Start vfp
2. CD YourProgramDir
3. ON KEY LABEL F11 USE Myform.scx
4. ON KEY LABEL F12 COPY TO MyCopyOfMyForm.scx
5. DO MyExecutable
6. Press F11 and F12

You'll have a copy of the form embedded in your exe.

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform