Hi, It seems silly with these posts count to ask such thing, I'm feeling a bit nervous and ashamed but let me ask it anyway:

Consider two unsigned bytes and the goal is to make them a signed short (or any other signed large capable number I found short type suitable for this purpose)

In another meaning a 0 to 65535 turn into -32768 to +32767. I just want to shift the whole range into signed limits. Positives stay the same but for more than half represents negative values. Sort of "Word" data type behavior on Windows built in calculator.

When I do this
Code:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        TextBox1.Text = CShort(CByte(NumericUpDown1.Value) * 256 + CByte(NumericUpDown2.Value))
End Sub
It works for half of the range (&H7FFF or +32767) but from &H8000 to &HFFFF it fails and unhandled exception says that: System.OverflowException: 'Arithmetic operation resulted in an overflow.'

CInt, CLng and others were also tested, same results.