VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



New Search in Files

by Cesare Imperiali (4 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

This will search inside files for a string.
Useful if you need to save on disk a list of files. It can search in any kind of file, but if you try with compiled ones (exes, dll) or zipped ones, it will most likely not find what you're looking for...

API Declarations
Rebuilt - Now there is a class that wrap code.
The ScanChunked function is based on a function I saw herearound, which I rated, but had a mistake:
stepped for x=1 to lenOfFile, step 32000
and did not check for remainder or if file was
shorter. This code is also a fix for that one.
Hope you enjoy.

Rate New Search in Files

Download New Search in Files

Download New Search in Files (8 KB)

New Search in Files Comments

No comments have been posted about New Search in Files. Why not be the first to post a comment about New Search in Files.

Post your comment

Subject:
Message:
0/1000 characters