littlebigman
Well-known member
- Joined
- Jan 5, 2010
- Messages
- 75
- Programming Experience
- Beginner
Hello,
I'm learning VB.Net 2008 using the Express edition. I haven't found the right function to recurse through directories/files that has the following requirements:
1. Go through all fixed disks
2. Search each disk from the root, including files and sub-dirs, looking for MyFiles.*
3. Don't stop because of the UnauthorizedAccessException: Just ignore this directory, and move on, unlike Directory.GetFiles() which just stops dead in its tracks
4. Don't freeze the UI, and display every file it finds so I can update the UI and let the user know how far the search is
Any tip/hint appreciated.
Thank you.
I'm learning VB.Net 2008 using the Express edition. I haven't found the right function to recurse through directories/files that has the following requirements:
1. Go through all fixed disks
2. Search each disk from the root, including files and sub-dirs, looking for MyFiles.*
3. Don't stop because of the UnauthorizedAccessException: Just ignore this directory, and move on, unlike Directory.GetFiles() which just stops dead in its tracks
4. Don't freeze the UI, and display every file it finds so I can update the UI and let the user know how far the search is
Any tip/hint appreciated.
Thank you.