Had a line running for better than a year. It loops though the files collection and sets a counter to the number of files it finds:
Set fsf = fs.GetFolder(thstring)
For each file in fsf.files
fcount = fcount + 1
next
Then I come into work today and find it doesn't work. Noone changed the code, no conflicting variables introduced.
I assigned this property instead and it works again
fcount = fsf.files.Count
Anyone else see this problem? MS Security Fix?, Server Update ? Does the collection still work correctly ?
(not being able to loop through that will be a bummer for us all).
Interesting stuff.
Set fsf = fs.GetFolder(thstring)
For each file in fsf.files
fcount = fcount + 1
next
Then I come into work today and find it doesn't work. Noone changed the code, no conflicting variables introduced.
I assigned this property instead and it works again
fcount = fsf.files.Count
Anyone else see this problem? MS Security Fix?, Server Update ? Does the collection still work correctly ?
(not being able to loop through that will be a bummer for us all).
Interesting stuff.