Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have asked the question twice now about Recrusion and how to search the entire user chosen dir example ("C:\") or ("D:\"). At the moment I am only able to scan one level of a directory which makes the scan process truly limited. Both answers I received failed to explain how to use a text file which contains the names the computer is looking for in the search.


Overview of my application:

1 start button ( starts the scan process)
1 stop button (of course stops the scan)
1 delete button ( to remove the file found)
1 combobox (lists the root directories C:\, D:\ ect)
2 textbox (to list information about the path and to show infected file)

I have seen many examples in short form which at this point has no relation to how I will apply it to my program. Can anyone use the buttons you see in the "overview of my application" to write a recrusive code to search the entire hard drive by the names in my text file?

In your code example I need to see it in full because I learn best by example (visual learning)

Thank you for being patient to my ignorance.
Posted
Updated 17-Oct-10 18:01pm
v2
Comments
Abhinav S 18-Oct-10 0:01am    
Try not to ask the same question twice. :)

1 solution

See this[^] thread - it may help.
 
Share this answer
 
Comments
Dale 2012 18-Oct-10 0:36am    
this example is a bit tricky...... I need this example to fit the example in my problem or maybe this example is good but I lack the knowledge to understand it fully. If you are able to give some insight please....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900