Odd resonses from VB9

J

Just_a_fan

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
 
S

Steve Gerrard

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. ;-)
 
J

Just_a_fan

Thanks for the update on how the fields are being prepared.

The code I used is exactly what is shown in a debug.print statement and
the values shown are what came up in the immediate window.

Seems like someone needs to look at the negative app.minorRevision
business. Just seems inappropriate to me.

I saw that 2.1.*.* somewhere but can no longer find it. Still looking.
Would like to change it.

Mike
 
S

Steve Gerrard

I saw that 2.1.*.* somewhere but can no longer find it. Still
looking. Would like to change it.

Try the Assembly Information button, in the Project Properties, Assembly tab.
 
J

Just_a_fan

And there it is. Thanks!! SO much new & changed in .NET. Still trying
to get my brain around it.

Mike
 
R

rowe_newsgroups

And there it is. Thanks!! SO much new & changed in .NET. Still trying
to get my brain around it.

Mike

Mike,

Any particular reason you request your posts to not be archived? Many
people search the archive in order to find answers and when posts are
removed it creates confusion.

Thanks,

Seth Rowe [MVP]
 
J

Just_a_fan

No idea about the archiving. Will have to look around Agent to find if
that is an option.

Thanks for mentioning it. Don't know!

Mike
 
J

Just_a_fan

Just looked and don't see any setting nor help item for the archive
thing.

What is causing that? I can write Agent support and ask but I don't
know what to ask.

Mike
 
J

Jack Jackson

In Agent, right click on the folder for this newsgroup and click on
Folder Properties.

There is an Archive option under Posting Messages - Usenet Options.

I don't know if there is a global setting for this, I couldn't find
one.
 
J

Just_a_fan

Fixed. That was buried deep!

Thanks for the help. This one should not have the no archive set.

Mike
 
R

rowe_newsgroups

Fixed.  That was buried deep!

Thanks for the help.  This one should not have the no archive set.

Mike






- Show quoted text -

It sure is, glad to see that your posts won't be getting lost in
cyberspace anymore!

Thanks,

Seth Rowe [MVP]
 
Top