C
chris fellows
I'm using a third party .NET 2 DLL from VB.NET and I'm am setting a property
of type 'int'. However, if I set a value larger than a 'short' (32k) then
reading the property back returns a negative number. Can someone tell me
what is likely to be happening within the property procedure that would
cause this? (The property should just be storing the value but appears to be
doing something unintentionally.)
I have a SQL stored proc that receives the negative value and, as a
temporary bug fix, I want to be able to reverse the procedure to get back to
the original number. I appreciate that a narrowing conversion has probably
occured so its possible that I can't get back to the original number.
of type 'int'. However, if I set a value larger than a 'short' (32k) then
reading the property back returns a negative number. Can someone tell me
what is likely to be happening within the property procedure that would
cause this? (The property should just be storing the value but appears to be
doing something unintentionally.)
I have a SQL stored proc that receives the negative value and, as a
temporary bug fix, I want to be able to reverse the procedure to get back to
the original number. I appreciate that a narrowing conversion has probably
occured so its possible that I can't get back to the original number.