Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP vs VBA
Message
De
09/05/2003 11:38:01
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00786727
Message ID:
00786806
Vues:
23
>Hello all,
>
>I'm looking for a VBA's function like GETDIR() in VFP.
>
>Any suggestion?
>
>Thanks

You could use WSH:
Something like:
oFSO = createobject('Scripting.FileSystemObject')
Set oFolder = oFSO.GetFolder("c:\")
now you have an object containing all the info on the folder you want.

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