FYI - if your example has code like this:
You need to be careful with how your original version string was retrieved. If it used any functions where locale settings come into play, the separator may be a comma instead of a period. As as "quick and dirty" failsafe, you can preface your check with something like:Code:versionArray = Split(v1, ".")
Code:If InStr(1, versionString, ",", vbBinaryCompare) Then versionString = Replace$(versionString, ",", ".")




Reply With Quote
