Visual Basic: Coding The Program
Visual Basic: Coding The Program
End Sub
Display Hello Button - cmdHello
Private Sub cmdHello_Click{}
End Sub
Clear Button - cmdClear
Private Sub cmdClear_Click{}
txtDisplay.Text = “ ”
End Sub
Clear Button - cmdClear
Private Sub cmdClear_Click{}
txtDisplay.Text = “ ”
End Sub
PERFORMANCE
TASK
Simple Calculator
OBJECT PROPERTY SETTING
Form Name Basic Calculator
Caption
TextBox Name Text1
Caption
TextBox Name Text2
Caption
Label Name Label1
Caption =
Label Name Label2
Caption
Command Button Name
Caption Add
Command Button Name
Caption Subtract
Command Button Name
Caption Multiply
On the given VB code on the link
https://uforum.forumotion.com/t2465-tutvisual-basic-6-0-calculato
r