Can anyone help me with this?
I need to make my project search for files on
the user's computer like does.
I will really appreciate a code.
Printable View
Can anyone help me with this?
I need to make my project search for files on
the user's computer like does.
I will really appreciate a code.
See the following links.
http://www.vbapi.com/ref/f/findfirstfile.html
http://www.vbapi.com/ref/f/findnextfile.html
Is there an easyer to do that then an API?
There is, but I don't recommend it.
It's not that hard to do it in API, and the other way will take a hell lot of time compared to the API way.
There's a way in FSO but you have to ship DLL's with it so don't bother using it.
When I try to use that API it gives an error for the
file name.
What's wrong?
When I used that API, the first thing returned was the root directory ".." as the file, this might be causing your error. I had to conditiion for what to do when that was found.
I hope that helps, or at least was along the right line with your question.
Dave C
I also think API is the way to go...
Just my $0.02