Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What approach is recommended for scripting from VFP
Message
De
24/05/2008 11:23:40
 
 
À
24/05/2008 10:56:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01319352
Message ID:
01319356
Vues:
24
As you asked me directly. The newer technologies are normally the fancier ones with the newest bells and whistles, but will perhaps not be available anywhere.

That does not mean to avoid eg Powershell. But additional to making use of any scripting you need take care of redistribution. If there is no good gain I tend to avoid anything that I can also do with VFP alone. Scripting.Filesystemobject is indeed rather helpful, for example when it comes to wrinting files with the capitalisation you want, or in your problem copying files, VFP won't let you, like an open DBC.

WMI offers functionality you would need to do much programming, nevertheless I did have a use for that only once.

Sometimes old bat or cmd files are still the easiest way to do some things, XCOPY or SUBST are much easier to use than WinAPI calls.

I'd be interested to hear from others too, what they use and for what tasks.

Bye, Olaf.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform