answersLogoWhite

0


Best Answer

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
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Visual basic code for hexadecimal number addition?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is visual basic control?

Visual Basic Controls work on Visual Studio for Visual Basic and Applications that made by Visual Basic.


The year of invention of visual basic?

Visual Basic was started in 1991.


Who developed visual basic?

Microsoft is the developer of visual basic


Who invented the visual basic?

Visual Basic was created by a team at Microsoft.


What is the difference between visual basic and visual c?

The programming language: Visual Basic is a BASIC-like (or BASIC-derived) language, Visual C is... well C.


Is Visual Basic 6.0 compatible with Visual Basic 2005?

No.


Who is the developer of Visual Basic?

Microsoft is the developer of Visual Basic.


When visual basic started?

Visual Basic was started in 1991.


What is the diff between Visual Basic 2005 and Visual Basic dot net?

Visual Basic 2005 is actually a version of VB.NET (v8.0). The latest version (9.0) is Visual Basic 2008.


How do you install visual basic?

Visual Basic 6.0 Product Key


How do you create a program in visual basic?

arrays programms in visual basic


How to add a record in visual basic?

How to add a record in Visual basic?