J
Jan
Hi there,
I'm a newbee in vb.net with the following problem:
4444528; Baltic Birch; 16.20; 0
I have more of these lines in a ListBox1.
Now I want to change the latest 0 with the value of a NumericUpDown1 (for
ex. 8)
My solution is this:
dim textline as string
dim item(3) as string
textline = lstWoodshop.SelectedItem
item = textline.Split(";")
item(3) = " " & NumericUpDown1.Value
textline = Join(item, ";")
lstWoodshop.Items.Insert(lstWoodshop.SelectedIndex, textline)
so far so good, but the old line with the 0 at the end still stays in the
ListBox1. How can I remove this? I tried many options, but i always get a
error?
Somebody knows they answer?
Thank you very much
I'm a newbee in vb.net with the following problem:
4444528; Baltic Birch; 16.20; 0
I have more of these lines in a ListBox1.
Now I want to change the latest 0 with the value of a NumericUpDown1 (for
ex. 8)
My solution is this:
dim textline as string
dim item(3) as string
textline = lstWoodshop.SelectedItem
item = textline.Split(";")
item(3) = " " & NumericUpDown1.Value
textline = Join(item, ";")
lstWoodshop.Items.Insert(lstWoodshop.SelectedIndex, textline)
so far so good, but the old line with the 0 at the end still stays in the
ListBox1. How can I remove this? I tried many options, but i always get a
error?
Somebody knows they answer?
Thank you very much