Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP vs VBA
Message
From
09/05/2003 11:38:01
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00786727
Message ID:
00786806
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform