cfisher....
not exactly sure what you have going on up there but this is how I would get a certain number of lines from a text file into a string array. In this example, I'm reading 5 lines from the file into my array and they are lines 5 - 9...
Dim sr As System.IO.StreamReader = New...
i would suggest the following (although it might not be exactly what you are looking for).....
add a tooltip to the form...
then (and this may be where my idea is different from what you want)
in add the following line to the selectedIndexChanged for the listbox
--------------
Private Sub...
When I need to pass values to the next form this is how I usually do it....
on form1
'create instance of form2
Dim f2 As New form2
'assign values to form2 textboxes
f2.TextBox1.Text = dataFromFile
f2.TextBox2.Text = dataFromFile
......
f2.show()
I would try something like the following.. It loops through all the controls on the form and if it is a combobox or a textbox it trys to convert the text to an integer value and then checks it against the current highest and lowest numbers...If you know that the data in the textboxes/comboboxes...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.