I have posted items on my vb problem with detailes of my code to sort in vb with very little response, so i will be brief and present only my problem.
The only practical advice I got was to search for arrays and sorting through search engines. Several of them described how to sort numbers in an array, but nothing that showed how to carry names attached to numbers.
What I am trying to do is sort names attached to scores I have allocated and put them into a ListBox or TextBox or whatever in order best score top to bottom. I am using a bubblesort and list box at the moment, and get the names and numbers OK into the list box, but not sorted in order, i.e. I enter for example
Bill 145, which appears in the list box, then
joe 133 then
mike 150 and hope for a sort into
Also when I type NameBox.Text it is accepted by VB But BestHcapBox. Text is not accepted but I am directed to the choice BestHcapBox.Count
This did not happen when I used similar code successfully 18 months ago, before I changed my pc and lost copies of the exact code.
I have had several readers of my post on other sites, but only one positive response. Can my English be that bad?