On Sep 21, 2006, at 7:51 PM, Craig Hoyt wrote:
This is driving me insane! How do you all deal with those
damn .DS_Store files! Getting an accurate count using the 'Count'
property is invalid. You never know when a folder has one of these
files and when they don't. So short of writing my own routine to
walk through every folder to verify I get an accurate count, is
there some why I've overlooked to deal with this?
And for those who are about to hit that reply button to tell me
that it is returning the correct count, I know that. It's just that
including invisible files is only useful for cataloging or
directory searches. Most of the time we deal with the visible files
and it would be nice to have a simple way of getting a count on
only those. The worst part is you never know when one will appear.
Working code suddenly brakes, usually resulting in a out of bounds
error.
Craig
make an extends method that returns VisibleCount ?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>