Question
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س2 : A) أكتب برنامج بلغة فيجول بيسك وصمم نافذة تحتوي على أربع صناديق نص وزر أمر للقيام بما يلي: (15 درجة) Form 1 Text2 1. عند
0 0
Add a comment Improve this question Transcribed image text
Answer #1

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:

X the Project 1 - Microsoft Visual Basic (run) File Edit View Project Format Debug Bun Query Diagram Tools Add-Ins Window Hel

Add a comment
Know the answer?
Add Answer to:
Write a program in Visual Basic, design a window with four text boxes and a command...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT