Search results for query: *

  • Users: abowg
  • Order by date
  1. abowg

    Read specified num of lines into array

    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...
  2. abowg

    show hint for listbox?

    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...
  3. abowg

    passing values to second form

    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()
  4. abowg

    Help finding a highest value integer

    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...
Back
Top