473,480 Members | 1,824 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ListBox Item Renaming

23 New Member
Hi. As you may have guessed I am a noob when it comes to Visual Basic, and as obvious as what im about to ask may be, i really hav no clue...

How do you rename ListBox Items?

Sorry and thanks.

Str!ker
Mar 1 '07 #1
4 2291
Killer42
8,435 Recognized Expert Expert
Hi. As you may have guessed I am a noob when it comes to Visual Basic, and as obvious as what im about to ask may be, i really hav no clue...

How do you rename ListBox Items?
I don't think you can. I think you need to remove and re-add them (in the same position if desired).
Mar 1 '07 #2
balid
18 New Member
Hi. As you may have guessed I am a noob when it comes to Visual Basic, and as obvious as what im about to ask may be, i really hav no clue...

How do you rename ListBox Items?

Sorry and thanks.

Str!ker
Do you mean changing the list entries? I think you just need to know the the index value of the list entry you want to change and change the text at that index.

Expand|Select|Wrap|Line Numbers
  1. listBox.list(?) = "what ever"
  2.  
If thats not it, could you be more specific?

Thank you,
Balid
Mar 5 '07 #3
Killer42
8,435 Recognized Expert Expert
...I think you just need to know the the index value of the list entry you want to change and change the text at that index...
Yes, you're right Balid. Sorry str1ker - I should have checked before posting.

I always thought the ListItem entries were read-only.
Mar 5 '07 #4
str1ker
23 New Member
hey, that looks good. ill try that, thanks.

i cant really try it right away cuz recently my computer went BOOM!, so i had to reinstall windows. and im still getting to the part where i reinstall VB. but, still, thanks.
Mar 6 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2376
by: Alex Stevens | last post by:
I'd already posted this in microsoft.public.dotnet.framework.windowsforms and microsoft.public.dotnet.framework.windowsforms.controls to no avail so apologies for the cross-posting. Hi, I'm...
14
1242
by: Alex Stevens | last post by:
I'd already posted this in microsoft.public.dotnet.framework.windowsforms and microsoft.public.dotnet.framework.windowsforms.controls to no avail so apologies for the cross-posting. Hi, I'm...
3
292
by: Alex Stevens | last post by:
I'd already posted this in microsoft.public.dotnet.framework.windowsforms and microsoft.public.dotnet.framework.windowsforms.controls to no avail so apologies for the cross-posting. Hi, I'm...
3
307
by: Alex Stevens | last post by:
I'd already posted this in microsoft.public.dotnet.framework.windowsforms and microsoft.public.dotnet.framework.windowsforms.controls to no avail so apologies for the cross-posting. Hi, I'm...
18
4579
by: Zytan | last post by:
I want the same function to be run whether you press Enter or double click the listbox. It seems really verbose to write both handlers to both events everytime, even if they both call the same...
0
7033
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6903
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7071
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5318
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
2987
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2974
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
557
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
170
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.