470,636 Members | 1,526 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,636 developers. It's quick & easy.

how do i remove listbox...

in vb6
listbox1.remove item 5
how will i do in vb.net?
regards

Jul 21 '05 #1
4 2181
ListBox.Items.RemoveAt (5)

"Supra" <su*****@rogers.com> wrote in message
news:Q1*****************@news04.bloor.is.net.cable .rogers.com...
in vb6
listbox1.remove item 5
how will i do in vb.net?
regards
Jul 21 '05 #2
how do i put same rows if i changed new items.
for example if u remove 5 and new item in same psoition in 5 how do i do
that?
regards

Shiva wrote:
ListBox.Items.RemoveAt (5)

"Supra" <su*****@rogers.com> wrote in message
news:Q1*****************@news04.bloor.is.net.cabl e.rogers.com...
in vb6
listbox1.remove item 5
how will i do in vb.net?
regards


Jul 21 '05 #3
You mean inserting an item at index 5? If yes, ListBox.Items.Insert (5,
"Item 5")

"Supra" <su*****@rogers.com> wrote in message
news:Cq********************@twister01.bloor.is.net .cable.rogers.com...
how do i put same rows if i changed new items.
for example if u remove 5 and new item in same psoition in 5 how do i do
that?
regards

Shiva wrote:
ListBox.Items.RemoveAt (5)

"Supra" <su*****@rogers.com> wrote in message
news:Q1*****************@news04.bloor.is.net.cabl e.rogers.com...
in vb6
listbox1.remove item 5
how will i do in vb.net?
regards

Jul 21 '05 #4
thank u, shiva

Shiva wrote:
You mean inserting an item at index 5? If yes, ListBox.Items.Insert (5,
"Item 5")

"Supra" <su*****@rogers.com> wrote in message
news:Cq********************@twister01.bloor.is.ne t.cable.rogers.com...
how do i put same rows if i changed new items.
for example if u remove 5 and new item in same psoition in 5 how do i do
that?
regards

Shiva wrote:
ListBox.Items.RemoveAt (5)

"Supra" <su*****@rogers.com> wrote in message
news:Q1*****************@news04.bloor.is.net.cab le.rogers.com...
in vb6
listbox1.remove item 5
how will i do in vb.net?
regards




Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Dave | last post: by
4 posts views Thread by Supra | last post: by
1 post views Thread by bujjai | last post: by
11 posts views Thread by Andrus | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.