Quote Originally Posted by vijy View Post
Findinfiles looping through all files(Pls refer this..).. its taking much time in directory.getfiles().
Is there any other API which uses Search using some indexing techniques? i need the data in seconds..
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