The link says Data base connection Error. Do you want to search only in few file types . If yes the consider using the wild cards
Code:Dim value As System.Collections.ObjectModel.ReadOnlyCollection(Of String) = My.Computer.FileSystem.FindInFiles(directory ,containsText ,ignoreCase ,searchType ,"*.txt")
Read the example here





Reply With Quote