Hey guys! I want to make a simple app that will search for a predetermined file name and will list all occurrences in one listbox.

I've searched on Google, but all the "search files" codes that I found were somewhat confusing. Can someone provide me some info so I can accomplish this? Thanks!

Here is a thread that may be of some interest to you

What will you have in a listbox? Files?
If so you can do a loop through all the item in listbox and compare each of them to your file name.
Can you do it?

Actually, I want to add the found files (or, to be more precise, it's full path, like C:\path\to\my.file). I need to search them around the user's filesystem, which seems that is exactly what BobS0327 posted. Thank you, I'll try it better later, I'm at College right now.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.