Solved

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

Posted on 2003-10-21
2
137 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

920 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

14 Experts available now in Live!

Get 1:1 Help Now