Re: Differences between VB6 and VB.Net causing problem

Tech-Archive recommends: Fix windows errors by optimizing your registry



Larry,

"Larry Serflaten" <serflaten@xxxxxxxxxxxxxx> wrote in message news:%23q0pc94MJHA.276@xxxxxxxxxxxxxxxxxxxxxxx

"Bill McCarthy" <Bill@xxxxxxxxxxxxx> wrote

(4) This one's for Larry. Bitwise operators require the types to be bitwise.
In VB6 only byte, Integer and Long are bitwise numerics. You can't do
bitwise operations directly on a Decimal type: a conversion, implicit or
otherwise, is required to one of the bitwise types first.
(5) Also for Larry: True is 16 bit. Boolean is 16 bit.





I then showed you that Decimals can use bitwise operators,
so you change that to:



Read 4 again. You can't do bitwise operatiosn directly on a Decimal.




The native type for VB6 is 32 bits. It would be more
likely that 'True' starts out as a native type, than for any
other type. I can't prove it does, any more than you can
prove it doesn't, yet you know for sure, because you say
so....


Geewizz Larry, didn't I show you what happens when you assign True to a Variant ? Are you ignoring that because it doesn't fit with what you want to believe ? How about CopyMemory then ?

Dim x As Long
CopyMemory x, True, 4

Oh look... it's 16 bit.


You have been showing such blatent arrogance in your
responses that I have lost interest in discussing it with you
any further.


That's a very inappropriate response Larry, especially given how wrong you have been.














.