Can anyone give me an idea of how to use VB to search a computer for a particular file, and to save the path to a string?
Thanks.
Printable View
Can anyone give me an idea of how to use VB to search a computer for a particular file, and to save the path to a string?
Thanks.
you can use VB's Dir function to (recursively) scan the directories for a file
or
use the FindFirstFile/FindNextFile APIs
or
use the SearchPath API (if you search for executables)
there are probably numerous other methods...