- Apr 22, 2001
- 1,544
- 0
- 76
I'm about to start breaking things. I think it's really stupid to make a Business major take a VB course. But anyway here's my problem.
I'm making a simple program..it has 5 text boxes (string data), a sort button, and a picture box. I'm suppose to use a bubble sort to get the text from the text boxes and display it sorted in the picture box after pressing the sort button. Should be easy right. Not for me!! i've been at this damn thing for the past 3 hours. Any help??!! please!!
Here's what I have so far....
Private Sub cmdSort_Click()
Dim x(1 To 5) As String
x(1) = txtOne.Text
x(2) = txtTwo.Text
x(3) = txtThree.Text
x(4) = txtFour.Text
x(5) = txtFive.Text
(bubble sort goes here)
End Sub
I'm making a simple program..it has 5 text boxes (string data), a sort button, and a picture box. I'm suppose to use a bubble sort to get the text from the text boxes and display it sorted in the picture box after pressing the sort button. Should be easy right. Not for me!! i've been at this damn thing for the past 3 hours. Any help??!! please!!
Here's what I have so far....
Private Sub cmdSort_Click()
Dim x(1 To 5) As String
x(1) = txtOne.Text
x(2) = txtTwo.Text
x(3) = txtThree.Text
x(4) = txtFour.Text
x(5) = txtFive.Text
(bubble sort goes here)
End Sub
