Following the thread title, I too am having trouble populating the listbox in my unit converter.
I keep getting the error message "Conversion from string " " to type 'Integer' is not valid." when I input an accepted piece of code in VB for displaying the results in the listbox.
Here are two examples of the different pieces of code I have used to try and get the results to display.
lstTableResult.Text = (FormatNumber(CStr(lcInputValue), CInt(lcResult) + CInt(ControlChars.CrLf)))
lstTableResult(" " + FormatNumber(CInt(lcInputValue), CInt(CInt(lcResult) + CDbl(ControlChars.CrLf))))
Any help would be appreciated.