Compare Two Files to Determine if They are Identical

Category:
Files and Directories
Type:
Snippets
Difficulty:
Beginning
Author:
Ervin Kosch

Version Compatibility:

More information:
This function will allow you to compare one file to another. It will do either a lax check (compare file lengths only) or a stringent check (a byte by byte comparison). See comments for more details.

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

Declarations:

Code: