Search Tools Links Login

File Search (UPDATE)


Visual Basic 6, or VB Classic

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.

Original Author: Neil Etherington

Inputs

Search String

Assumptions

Read the Capital comments first

Returns

True if Found

Side Effects

This is FAST

API Declarations

FindFirstFile etc, GetTickCount

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 92 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD79307192000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 4,406 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.