Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TMP files hanging around..
Message
De
10/09/1997 10:35:10
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00048372
Message ID:
00049307
Vues:
65
>>I have a 'launcher' application run my APP. This controlling EXE creates a cursor or two while loading. Since this EXE does not get control back from the APP, it never cleans up after itself (the TMP files). How can I force it to clean up these files?
>
>I have a UDF I call in my startup programs which attemps a FOPEN() on .TMP files. I the FOPEN() is successful (the file is not currently in use), then the .TMP file must be a leftover. I then delete it.
>
>It is important to run this at program STARTUP because once in the app, you never know what the user will do (reboot, shut down, etc.)
>

I like the idea about deleting the files on Startup rather than Shutdown. I get the distinct feeling that we're missing something. Do we really have to clean up after VFP?? My TMP files are being created by VFP for a CURSOR. When the cursor is closed, the temp files SHOULD disappear... Not the case. Is this a bug in VFP?
- Gino Miceli -
LAN Professionals Inc.
Bayshore, NY
gino@vdot.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform