I'm currently using the code below to search for files on the desktop, I want to be able to search .csv files on the desktop and my documents and I want it to prevent it from hanging when you press the button. How can I achieve this? I originally wanted to search the whole drive but I don't want it to hang and show some kind of progress bar or something to show it is searching. How it is setup, when I click a button ShowCSVFiles Form shows up and it executes the search and drops em into a listbox.
For Each foundFile As String In My.Computer.FileSystem.GetFiles( _