VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



File Search (UPDATE)

by Nelly (7 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

I recieved an e.mail from Randy Porosky asking if can update
the Application so it would search for multiple Files and
list the Search Name only, well, it now searches for multiple
Files and adds the search name to a seperate listbox. You
would expect the search to take double the time when adding
another File to the SearchList, but with a litte recursive
programming it only adds approx 0.6 seconds to the search time.
So again, this Application will search for multiple Files on
multiple Drives, Folders etc, VERY FAST, eg. On my system it
took 3.5sec to search 1079 Folders for 1 File, because of the
recursive programming it took 4.1sec to search 1079 Folders
for 2 Files.

Inputs
Search String
Assumes
Read the Capital comments first
Code Returns
True if Found
Side Effects
This is FAST
API Declarations
FindFirstFile etc, GetTickCount

Rate File Search (UPDATE)

Download File Search (UPDATE)

Download File Search (UPDATE) (4 KB)

File Search (UPDATE) Comments

No comments have been posted about File Search (UPDATE). Why not be the first to post a comment about File Search (UPDATE).

Post your comment

Subject:
Message:
0/1000 characters