Re: Odd resonses from VB9

Tech-Archive recommends: Speed Up your PC by fixing your registry



Just_a_fan@xxxxxxxx wrote:
Here are some odd responses from VB9

App.Major : 2
App.Major Revision : 0
App.Minor : 1
App.Revision : 40348
App.Minor Revision : -25188
App.Build : 2988

Never heard of a NEGATIVE minor revision! How in the world do they
come up with this stuff???

The last three are all suspect. Seems like random numbers to me. I
was trying to make sense of it for a while and finally had to quit.

Totally repeatable.

Mike

You're version is set to 2.1.*.*

The build number is the default *, which is "equal to the number of days since
January 1, 2000". Must have been done around March 7, 2008.

The revision number is "equal to the number of seconds since midnight, January
1, 2000, local time, divided by 2". Seems like it would be around 129081600, but
it is must be masked off to the lower 16 bits. IF you did a build around 11:30
pm, you might get a revision number of 40348.

The hex of 40348 is 9D9C. Taken as an unsigned 16 bit integer, that is 40348.
Taken as a signed 16 bit integer, it is -25188.

It is all very logical. ;-)


.