Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Copy using the Shell...Win9x or Nt or 2000
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00451623
Message ID:
00451791
Vues:
31
>>>>>>>>>>
How do you determine if FSO is installed on a machine via code
>>>>>>>>>>

You could trap ON ERROR * to avoid a messagebox if not there.
then try to instantiate and check result:
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
IF VARTYPE(oFso) != "O"
   * Not installed
ENDIF
ON ERROR
HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform