Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I change the drive used to store temp files?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00409880
Message ID:
00409890
Vues:
16
>VFP's help file says :
>
>Specify an alternate location by including one or more of the EDITWORK, SORTWORK, PROGWORK, and TMPFILES statements in the Config.fpw file.
>
>but what do I need to do if I need to change it at run time a few times during program execution?
>
>
>TIA,
>
>Yanick Lavoie

What I have done in my app is create a data manager class. This class when initialized tells me where my app should put any temp files. If per chance I need to change this during runtime I would just change the property oData.TempDirectory and then continue on. oData is declared in my start prg and thus is available for the duration of my app.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform