(I meant to say list box in the title heading, not combo box. Can't edit the title)
I am trying to create a unit converter program. At the moment I'm trying to populate my combo box with results that have been calculated. I have two sets of results to display. I want them displayed side by side and have been trying very hard to do this. So far I've managed to get the result to display but only the original unit, it's start, increment and end value. Not the converted unit, start, increment and end value.
Then I managed to display both the original inputs and the converted inputs but they were showing directly below one another instead of being seperated into two seperate columns, i.e. original input, start, increment and end and the converted unit, start, increment etc.
This is the code snippet I am working with:
lstTableResult.Text = "" + (FormatNumber(lcInputValue, CInt(mdDecPlaces))), "" + (FormatNumber(lcResult, CInt(mdDecPlaces)))
The code above is incorrect and shows errors, i.e. is asking for end of statement.
The code below works, but it is only one code line, I've just split into two to make it work... not what I actually want.
lstTableResult.Items.Add(FormatNumber(lcInputValue, CInt(mdDecPlaces))) lstTableResult.Items.Add(FormatNumber(lcResult, CInt(mdDecPlaces)))
Any assistance would be appreciated.