You are on page 1of 1

Code

Dim Sum As Integer Product = txtInput1.Text * txtInput2.Text * txtInput3.Text


Dim Product As Integer txtInput1.Text = ""
txtInput2.Text = ""
Private Sub cmdAdd_Click() txtInput3.Text = ""
Sum = Val(txtInput1.Text) + (txtInput2.Text) + txtProduct = Product
(txtInput3.Text) End SubDim Product As Integer
txtInput1.Text = ""
txtInput2.Text = "" Private Sub cmdExit_Click()
txtInput3.Text = "" End
txtProduct = Sum End Sub
End Sub
Private Sub cmdProduct_Click()
Private Sub cmdExit_Click() Product = txtInput1.Text * txtInput2.Text * txtInput3.Text
End txtInput1.Text = ""
End Sub txtInput2.Text = ""
txtInput3.Text = ""
Private Sub cmdProduct_Click() txtProduct = Product
End Sub
Object Icon Property Property Settings

Form Name
Caption
Icon
Picture
Name
Multiply button Caption
Font MS Sans Serif/ Bold/12
Name
Exit button Caption
Font MS Sans Serif/ Bold/12
Name lblproduct
Label Caption Enter First Number:
Font MS Sans Serif/ Bold/12
Name lblproduct2
Label Caption Enter 2nd Number:
Font MS Sans Serif/ Bold/12
Name lblproduct3
Label Caption Enter 3rd Number:
Font MS Sans Serif/ Bold/12
Name txtInput1
Text Box Text (empty)
Font MS Sans Serif/ Bold/12
TabIndex 0
Name txtInput2
Text Box Text (empty)
Font MS Sans Serif/ Bold/12
TabIndex 1
Name txtInput3
Text Box Text (empty)
Font MS Sans Serif/ Bold/12
TabIndex 2
Name txtProduct
BackColor System/Highlight
Text Box MaxLength 22
Enable False
Text 0
Font MS Sans Serif/ Bold/12

You might also like