vikasgkutty
asked on
MFC - search for files in a directory and display results
I have a tree view control that lists directories
the user selects a directory he wants to search files in
so now the directory path is available in a CString variable.
Now i want to have a text box titled "Search for".... wherein you would give the pattern of the file to serach for.
the program should serach for the file (with wild cards and stuff) in that directory and sipaly results ina listbox.
could someone tell me how i could do the search files part.
I have already have the directory path avaialbe in a variable.
Please do help me with this
the user selects a directory he wants to search files in
so now the directory path is available in a CString variable.
Now i want to have a text box titled "Search for".... wherein you would give the pattern of the file to serach for.
the program should serach for the file (with wild cards and stuff) in that directory and sipaly results ina listbox.
could someone tell me how i could do the search files part.
I have already have the directory path avaialbe in a variable.
Please do help me with this
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.