Search Text Files

Category:
Files and Directories
Type:
Snippets
Difficulty:
Intermediate
Author:
Amitai Laufer

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Quick and easy to use search function. Find a string in any number of text files. Requires a Reference to Microsoft Scripting Runtime.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: