Compare File Versions

Category:
Files and Directories
Type:
Snippets
Difficulty:
Beginning
Author:
Vincil Bishop

Version Compatibility: Visual Basic 6

More information:
This function takes two file names and compares the version numbers assigned. The function then returns an integer depending on whether the version number of the first file or second file is greater, or if the two files are the same version

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

Declarations:

Code: