FartNocker
Regular
Is there a METHOD that I can use to compare Version Numbers like 1.0.0.1
Now I know that the above won't work because of the number of decimals. But there some method I can use to compare the two or. will I need to break the version in to two parts to compare it.
Thanks for any help that you may offer
Mark
Visual Basic:
Dim OldVer As Double = Val("1.0.0.1")
Dim NewVer As Double = Val("1.0.0.2")
If NewVer <= OldVer Then
lblMessage.Text = "Your program is up to date. Update is NOT necessary. Click Quit to exit."
Else
lblMessage.Text = "Your program qualifies for the update. Click Next to begin the update."
End If
Thanks for any help that you may offer
Mark