I have 2 versions, lets say 1.0.2016.1000 and 1.0.2015.2000, out of which the first one is higher version.

How to do these comparision in vb6?

If both are same, it should return true without any looping. Else, it should do a minimum looping mechanism and return true if first version is greater and false if it is lesser.