What I am trying to do is either:
1. I have some values in a listbox, and want to find the lowest
2. Convert all values to array, cant find what I did wrong here:
Please help
1. I have some values in a listbox, and want to find the lowest
2. Convert all values to array, cant find what I did wrong here:
VB.NET:
Dim allavarden() As Integer
pop = 0
Do Until pop = valuen.Items.Count - 1 'also tried with for loop and for each, neither worked
allavarden(pop) = valuen.Items(pop) 'valuen = a listbox
Loop
Please help
Last edited: