Jump to content

Search Bar?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
xGhost4000x

xGhost4000x

    Newbie

  • Members
  • Pip
  • 6 posts
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?

#2
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
FindFirstFile() FindNextFile()

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
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
MeTh0Dz

MeTh0Dz

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,119 posts
Probably use a spider or recursive search.

#5
xGhost4000x

xGhost4000x

    Newbie

  • Members
  • Pip
  • 6 posts
Do these work in VB 2008? either way I am trying them now...

#6
Guest_Jordan_*

Guest_Jordan_*
  • Guests
If you are speaking of Meth0d's posts then no. The link I gave you was for Visual Basic methods in that namespace.