|
-
December 20th, 1999, 09:29 AM
#1
Text based search for Files
How do I use the input in a text box to search for a specified file. The file could be anywhere, ie if I type in log.txt how do I find this file and display it
-
December 21st, 1999, 04:41 AM
#2
Re: Text based search for Files
You will have to recursivly search all disks and folders for the file. Use dir() for detecting whether you're dealing with a folder or the correct file or something different.
HTH
Matthias
Best wishes,
Matthias Steinbart
-
December 21st, 1999, 05:01 AM
#3
Re: Text based search for Files
Rnady Birch has an excellent example at :
http://www.mvps.org/vbnet/code/fileapi/recursive.htm
- it's probably the fastest way of doing it.
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|