User1057623887 posted
I have a string array called m_DirFileList and a collection called myFileCollection. I'm trying to loop through the items in the collection and store each one in the string array. It's not working though. This is what I'm trying
to do:
Dim myFileCollection As Collection = clsFTPClientClass.GetFileList(fileFilter, True)
intItems = clsFTPClientClass.GetFileList(fileFilter, True).Count()
'Debug.Print("count=" & intItems)
'MessageBox.Show(intItems)
' Loop through all items in the collection
For i = 0 To intItems - 1
m_DirFileList = myFileCollection.Item(i)
Next
What am I doing wrong? Thanks