Hello all... I am new to VB and would appreciate any help with something. I created 3 list boxes. I have 2 buttons, one button to transfer a value from the 1st and 2nd boxes into the 3d box. That part I'm fine with, just used If/else and also did it with case statements. The part I'm stumped on is my 2nd button is to add all the values in the 3d list box into a label (total).
I tried a For loop, Do While, While - Items.Add, SelectedItem/Index, Items.Count, etc.. I came close a few times... My variable is called dblAdded which is the items in the 3d list box. I tried dblTotal += dblAdded in the loop. I came close a few times, but they won't add correctly.
Any help would be greatly appreciated, Thx..
I tried a For loop, Do While, While - Items.Add, SelectedItem/Index, Items.Count, etc.. I came close a few times... My variable is called dblAdded which is the items in the 3d list box. I tried dblTotal += dblAdded in the loop. I came close a few times, but they won't add correctly.
Any help would be greatly appreciated, Thx..