Skip to main content

Write a VB program which accepts First name and last name from user into two textboxes and three command buttons Concatenate, Uppercase, Lowercase respectively. After clicking on command button appropriate result should get display into third textbox.

· One min read
Kaustubh Kulkarni

Write a VB program which accepts First name and last name from user into two textboxes and three command buttons Concatenate, Uppercase, Lowercase respectively. After clicking on command button appropriate result should get display into third textbox.

file.vb
Private Sub Command1_Click()  

Text3.Text = Text1.Text + Text2.Text

End Sub
Private Sub Command2_Click()
Text3.Text = UCase(Text3.Text)
End Sub

Private Sub Command3_Click()
Text3.Text = LCase(Text3.Text)

End Sub