Write a program in Visual Basic, design a window with four text boxes and a command button to do the following: 1- Upon implementation, the text of the first box shall contain () University of Thi-Qar The rest of the text boxes will be empty. -2 When you click on Command1 it distributes the three sections of text In the first box on the rest of the empty boxes
Program:
Private Sub Form_Load()
Text1.Text = " University of Thi-Qar"
End Sub
Private Sub Command1_Click()
Dim inpuTxt, strArr() As String
inputtxt = Text1.Text
strArr = Split(inputtxt, " ")
Text2.Text = strArr(1)
Text3.Text = strArr(2)
Text4.Text = strArr(3)
End Sub
Output:
Write a program in Visual Basic, design a window with four text boxes and a command...