Try dim filespecs as string = "*.exe;*.com;*.386" Using fse As New FindFiles.FileSystemEnumerator(pathToSearchCombo.Text, filespecs, True) Dim ien As IEnumerator(Of FileInfo) = fse.Matches().GetEnumerator() ien.Dispose() For Each fi As FileInfo In fse.Matches Fcount = fcount +1 label3.text = fcount.tostring 'do some work
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)