Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Project.Files Collection - slow access
Message
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00327300
Message ID:
00328321
Views:
25
Hi George.

>Yeah, Ken, I got pretty much the same result you did. It's screen I/O that's causing this not iterating through the collection.

I disagree. I did a test of a project with 127 files and simply assigned loFile.Name to a variable. It took around 3 seconds. Now, compare that to opening a PJX file and doing the same thing in a SCAN. The time is essentially 0.000 seconds. It gets worse when you access more than one property of the file object; the time goes up by a second or so for each property accessed.

I'm not sure how to say this without being obvious, but I understand we won't have to worry about this issue forever. <g>

Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform