answersLogoWhite

0

Prep work: add 3 textboxes and 4 buttons

Button1 = Add

Button2 = Subtract

Button3 = Multiply

Button4 = Divide

Make sure to keep a textbox for the answer (I'll use one called, "TextBox3")

For Button 1:

TextBox3.Text = Val(TextBox1.Text) + Val(TextBox2.text)

'This takes text1's value and adds text2's value to it

For Button 2:

TextBox3.Text = Val(TextBox1.Text) - Val(TextBox2.Text)

'same as button one but subtract

For Button 3:

TextBox3.Text = Val(TextBox1.Text) * Val(TextBox2.Text)

For Button 4:

TextBox3.Text = Val(TextBox1.Text) / Val(TextBox2.Text)

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is a visual basic code?

Visual Basic code is a program or library that has been written using the Microsoft Visual Basic programming language.


What is the source code for scientific calculator in c?

What is the source code for scientific calculator in c?Read more: What_is_the_source_code_for_scientific_calculator_in_c


What is the mening of basic in visual basic?

Basic in Visual Basic stands for Beginner's All-purpose Symbolic Instruction Code.


Download code for scientific calculator in java?

yes


Comparison of visual basic and C?

The syntax and operation is very similar, but visual basic isn't as powerful. Think of it as a watered down, easier version of c. With C, you can create anything from a simple calculator application to a full blown operating system. Visual basic can't make anything as extensive as an operating system, but it is much faster to code in visual basic when you want to make form based programs, or applications.


How do you codify in excel?

Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.Formulas can be written in cells. VBA code for Macros can be written by going into the Visual BASIC for Applications editor.


What is a source code in Visual BASIC?

In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.


Abbreviation for the word 'basic' in visual basic?

Beginner's All-purpose Symbolic Instruction Code


What is the code of cube root in visual basic?

x ^ (1 / 3)


Code for Secant method please in visual basic 2008?

855193


The code for shutting down computer in visual basic?

The code is: shell ("shutdown -s") That code should work for you.


What does BASIC stand for in Visual Basic?

Beginner's All-Purpose Symbollic Instruction Code