answersLogoWhite

0

Assuming you've a couple of textboxes for two hex numbers and a label for results, the following will add two hex numbers and display the result in hex. Dim a, b, c As Integer a = Convert.ToInt32(TextBox1.Text, 16)

b = Convert.ToInt32(TextBox2.Text, 16)

c = a + b

Label1.Text = Hex(c)

User Avatar

Wiki User

16y ago

What else can I help you with?