Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to work with files in system/hidden folders
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00314887
Message ID:
00445451
Views:
51
>Nadya,
>
>Go ahead and FAQ it is you want. There's some discussion of it over on the Wiki too. There's no doubt that a few calls to a builtin function is going to be significantly faster than thousands of calls to a COM object.
>
Found two interesting links in WiKi:
http://fox.wikis.com/wc.dll?Wiki~WindowsScriptingHost~WIN_COM_DNA
http://fox.wikis.com/wc.dll?Wiki~RecursionInVFP~VFP

I decided not to repeat this discussion.


>>I've just ran tests on my local Windows 95 machine c drive:
>>Results: 19866 files in 4 sec by adir and in 78 sec. by FSO. (time periods are the same in bunch of tests).
>>Also I looked in MSDN online help on Scripting.FileSystemObject and I didn't find a way to specify file sceleton, like "*.scx" (we can do it in adir())
>>
>>I modified a little these programs (I'm going to implement it for searching specific string in specific Form's method Thread #430305)
>>
>>BTW, I think both approaches should be placed in FAQ section here, because they are very important. What do you think?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform