Hello everyone i am getting input from the user in the form of an inputbox. The inputbox then dumps the information into an arrayList which then i want my Listbox to be populated by the items within the arrayList.
userName = InputBox("Enter Name: ")
Dim users As ArrayList = New ArrayList()
users.Add(userName)
For i As Integer = 0 To users.Count
termListBox.Items.Add(users.Item(i))
Next i
It gives me the error at the bold highlighted text. Any ideas?
That worked thanks I have another question. How can i load a form from another form? I tried form.show but the form came up and quit after a couple of seconds.
Double click on the My Project. On the left hand side toward the bottom in the Shut Down Mode select "After last form closes".
If you don't then when you close the startup form the program ends.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.