VB6: Using fso.getfileversion("my.exe") returns 4 numbers..
Posted on 2006-10-26
I have an app where Version Major=2, Minor=0, and Revision=2. My thinking is that this would display 2.0.2 as the version number.
When I run the below function, the MsgBox value is 126.96.36.199
Why is it not 2.0.2, and what's the best way to do an apples-to-apples comparison here?
Public Function fn_get_exe_version_number()
Set fso = CreateObject("Scripting.FileSystemObject")