answersLogoWhite

0


Best Answer

Option Explicit

Dim a as integer

Dim b as integer

Dim c as integer

Dim result as integer

a=val(text1.text)

b=val(text2.text)

c=val(text3.text)

result=a+b+c

'now we want to push the result to another text box ,below code insert into the button click event

text4.text=result

text1.text=""

text2.text=""

text3.text=""

Rename the cmd button

As sum.

And run the program by pressing F5 key.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

using class

shared sub main()

dim s as integer=10

dim g as integer=20

system.console.writeline(s+g)

end sub

end class

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Program to find sum of two numbers in VB.NET language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write a VBnet program to find the prime numbers between 100 to 200?

VBnet program to find the prime numbers between 100 to 200?


How do you write an assembly language program to find the sum of n numbers using array?

write an assembly language program to find sum of N numbers


How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


Program for sin series in c language?

find the program in c-pgms.blogspot.com


i want to find free english as a second language learning online program.?

i want to find free english as a second language learning online program.


How do you find keyword in aspnet using vbnet?

I believe that this is currently not possible. The reason why this is currently impossible is because ASP.NET is a different programming language then VB.NET. ASP.NET is a web programming language, and VB.NET is a windows form development language. I am sorry but I believe that it is almost impossible to do this.


Where can I go find a intensive language program?

Your closest YMCA should have a language program. If not they will be able to supply you with tons of recommendations on areas and programs to help you learn language skills.


How can you write a program to find the mean resistance in c language given the values of 8 resistances?

"Mean" usually means "average", so you just add the numbers together, then divide by 8.


An assembly language program that will take three decimal input and display minimum of them?

program that take three decimal number as input and find the largest among them in assembly language


Write a Shell program to find the smallest number from a set of numbers?

k


Write a C program to find the square of two numbers?

Please visit http://talentsealed.blogspot.com/2009/10/to-find-sqaure-of-numbers-using-c.htmlfor the answer.


Differences between source program and object program?

SOURCE PROGRAM=A set of instructions of the high level language used to code problems to find its solution on a computer is referred as source program. OBJECT PROGRAM=The computer translates the source program into machine language program called object program by using an interpreter or compiler is called object program.