需要示例请! [英] Need Example PLEASE!

查看:79
本文介绍了需要示例请!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经问过两次有关Recrusion的问题,以及如何搜索整个用户选择的目录示例("C:\")或("D:\").目前,我只能扫描目录的一个级别,这实际上限制了扫描过程.我收到的两个答案都无法解释如何使用文本文件,其中包含计算机在搜索中要查找的名称.


我的应用程序概述:

1个开始按钮(开始扫描过程)
1个停止按钮(当然会停止扫描)
1个删除按钮(用于删除找到的文件)
1个组合框(列出根目录C:\,D:\ ect)
2个文本框(列出有关路径的信息并显示受感染的文件)

我已经看到了许多简短的示例,这些示例目前与我将其应用于程序的方式无关.任何人都可以使用您在我的应用程序概述"中看到的按钮来编写一个递归性代码,以通过我的文本文件中的名称搜索整个硬盘驱动器吗?

在您的代码示例中,我需要完整了解它,因为我通过示例(可视化学习)学习得最好

感谢您耐心等待我的无知.

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.

推荐答案

请参见 ^ ]线程-可能有帮助.
See this[^] thread - it may help.


这篇关于需要示例请!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆