Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initializing and restoring the VFP environment
Message
De
06/04/2004 13:23:03
Dave Nantais
Light speed database solutions
Ontario, Canada
 
 
À
06/04/2004 12:18:22
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00892638
Message ID:
00892681
Vues:
14
>Hi Dave
>
>As you know, I don't use codemine, but, if it has a class that sets settings, you could subclass that class, and have it make it's normal settings. You could override your preferences in the subclass. That is, of course if the class is in its own classlib.

The class is tightly coupled to two other Codemine objects making it a chore to pull away from the Codemine environment. This is what I am going to end up doing if I do not get an easier solution in the next day or two. I just figured someone had already built an equivalent to the VFP 8 Environment Manager in the VFP 8 task pane.

>
>>From the help file :
>>To capture commands for the current environment
>>
>>From the Tools menu, choose Options.
>>Press Shift and select OK to display the environment SET commands in the Command window.
>>From the Command window, copy and paste into your program.
>>
>>Is there a way to programmatically capture all of this environment information into a text file (then I could rename it a .prg file)?
>>
>>I use the Codemine framework for some of my projects and it has a function in it that programmatically sets every single environment variable. It does so with many explicit SET commands.
>>
>>I am lazy and do not want to rework this extensive and detailed Codemine class library to work on my non-Codemine projects.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform