Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Missing Form Memo File (SCT)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01409482
Message ID:
01409515
Vues:
120
Hi Cecil,

> Still, I don't know why the Memo file disappears.

If this happens frequently enough, you can keep FILEMON or PROCMON running in the background while you are working. Set the filter to "VFP9.EXE". VFP normally creates a temporary file with the new form, deletes the old one and then renames the copy.

Unfortunately, this is an approach that is not very stable with modern OS. Windows supports pending deletions. That means, when an application (such as VFP) deletes a file that is in use by another application (such as a virus scanner), Windows returns success to the first app, keeps the file and marks it for deletion. As When the second app closes the file it gets deleted. Hence, VFP assumes it deleted the file, but as the file is still there the following rename operation fails.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform