Solved

Does FSO FileCollection have a limit as far how many files can be processed ?

Posted on 2003-10-21
2
136 Views
Last Modified: 2011-04-14
For example, when I go:

                                    For Each objFile in Folder.Files
                                          whatever
                                    Next

What if I have 100000 files ??
Also, may be there are more economical ( in terms of memory, performance ) ways to handle such situation ?

Thanks in advance
0
Comment
Question by:AlexF777
2 Comments
 
LVL 28

Accepted Solution

by:
vinnyd79 earned 200 total points
ID: 9590667
I don't know if there is a limit but I do know FSO is the slowest method of doing this.The fastest way would be to use API:

http://www.mvps.org/vbnet/index.html?code/fileapi/recursivefiles_minimal.htm
0
 
LVL 16

Assisted Solution

by:Richie_Simonetti
Richie_Simonetti earned 50 total points
ID: 9591625
i agree with vinnyd
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now