473,385 Members | 1,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how do i remove listbox...

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

Jul 21 '05 #1
4 2345
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: yamne | last post by:
I have a problem. When I click in edit datagrid button I show two listbox and two button. I use two button to move data between two listbox. My problem is that I can't call the listbox in the...
4
by: Ron | last post by:
I've got a listbox that holds a list of groups. Users can select a group, hit the remove button and the group should be removed from the listbox. The only problem is that no matter which group you...
0
by: deepak | last post by:
Hi all, i m transefering values from one listbox to another listbox using javascript(both are html controls), the first listbox is populating with database at page_load time and the second listbox...
13
by: Larry Woods | last post by:
I am creating a "from-to" set of listboxes where the "left" listbox had a list of values and I want to be able to select these values, 1 at a time, and move them into a "right" listbox, removing...
7
by: Dave | last post by:
Hi all, After unsuccessfully trying to make my own dual listbox control out of arraylists, I decided to look for a 3rd party control. I've looked for over a week now and can't find anything but...
4
by: Supra | last post by:
in vb6 listbox1.remove item 5 how will i do in vb.net? regards
1
by: bujjai | last post by:
when i remove listbox item next item should come to the previous item example: 1 2 3 when i remove 2...... 3 shuold come 2 place... i want java script .. i have to write C# applciation
1
by: Sunray | last post by:
I have a form called the sales form and i have 2 sets of listboxes So what happens is. i add items form the bottom set of list boxes which are bound to a data base to the top set of list boxes which...
11
by: Andrus | last post by:
1. Run code 2. Resize window Observed: Listbox flashes during resize. How to remove this flashing ? Andrus.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.