This wikiHow teaches you how to use Microsoft's Visual Basic 6.0 to create a simple calculator that can add, subtract, multiply, and divide. Keep in mind that Visual Basic 6.0 is no longer used by modern computers, so you'll need to have...
Part 1 of 5:
Creating a New Project
Create a new folder for your calculator. To house all of your calculator's necessary files, do the following:
Open Visual Basic 6. This will bring up the project selection page.

Click Standard EXE. It's in the project selection field.

Click Open. This is in the bottom-right corner of the window. Doing so creates a new project.
Part 2 of 5:
Creating the Calculator's Input Fields

Open the "Text Box" tool. Click the ab button on the left-hand side of the window.
Create a text box. Click and drag your mouse down and right to draw an outline of the text box, then release the mouse button when the text box is the proper size.
Copy the text box. Click once the text box to select it, then press Ctrl+C to copy it.
Paste in the text box twice. Press Ctrl+V twice to do so. You should see your pasted text boxes appear in the upper-right side of the page.
Arrange the text boxes in a stack. Click and drag the text box in the top-left side of the page down to the bottom slot, then move the second text box from the top-left side of the page into the middle slot. You should now have a stack of three text boxes.[1]
Remove the text boxes' default text. To do so:
Create three label boxes. Click the A button in the left-hand toolbar, then do the following:
Place the label boxes to the left of the text boxes. Click and drag each label box to sit to the left of each text box.
Edit the top label box's caption. To do so:
Edit the other two label boxes' captions. You'll label them like so:
Make the label boxes transparent. This isn't necessary, but it will make your calculator more visually appealing:
Title your calculator. To change the text that appears at the top of the calculator's window when you run it, do the following:Update 05 March 2020
ncG1vNJzZmismaXArq3KnmWcp51ktbDDjK2mZpuimq61sYyaZKyhnaW5pnnCmqOcrZyWwbC%2BjKKlZq6ZqMKiuIybmKyhk2KDcQ%3D%3D