Hello, I am working on a program that will handle most of my needs on startup, what I am currently stuck on is a search function, I need to be able to search the C drive, or any drive for a specific file or folder. Is this possible and if so Can someone give me a working example or suggestion?
Search Bar?
Started by xGhost4000x, Sep 23 2008 09:51 AM
5 replies to this topic
#1
Posted 23 September 2008 - 09:51 AM
|
|
|
#2
Posted 23 September 2008 - 10:44 AM
FindFirstFile() FindNextFile()
#3
Guest_Jordan_*
Posted 23 September 2008 - 11:36 AM
Guest_Jordan_*
You'll need to obtain a list of the root directories and move recursively through each one. You can find information about files/directories in Visual Basic using the FileSystem namespace. More information here: File, Directory, and Drive Properties in Visual Basic
#4
Posted 23 September 2008 - 11:38 AM
Probably use a spider or recursive search.
#5
Posted 23 September 2008 - 11:57 AM
Do these work in VB 2008? either way I am trying them now...
#6
Guest_Jordan_*
Posted 24 September 2008 - 04:02 AM
Guest_Jordan_*
If you are speaking of Meth0d's posts then no. The link I gave you was for Visual Basic methods in that namespace.


Sign In
Create Account

Back to top









