Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net
Go Back  Xtreme Visual Basic Talk > > > Using Listbox or combobox on VB.net


Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2004, 11:53 AM
123deoliveira4 123deoliveira4 is offline
Newcomer
 
Join Date: Mar 2004
Location: Telford, UK
Posts: 3
Default Using Listbox or combobox on VB.net


Does anybody know how to display an item from a listbox or combobox after it's been checked?

I've never used any of those two before, I'm managed to set up the items I wanted but now I want to display the item checked on a label and don't know how to write the code for it.

If anybody knows how to do that on VB.net can you help me....
Reply With Quote
  #2  
Old 03-29-2004, 12:21 PM
Mikecrosoft's Avatar
Mikecrosoft Mikecrosoft is offline
Mexican Coder
 
Join Date: Jun 2002
Location: Monterrey, N.L., Mexico
Posts: 2,793
Default

Label1.Text = ListBox1.SelectedItem
__________________
Mikecrosoft.NET
* If I stop to ask I will stop to learn
* Just I know that I don't know nothing
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate ListBox based on item selected in combobox petk65 Word, PowerPoint, Outlook, and Other Office Products 2 02-03-2004 08:19 AM
Linking the Combobox to a Listbox raiderxs Word, PowerPoint, Outlook, and Other Office Products 2 01-04-2004 03:57 PM
text to combobox to listbox mhedrick Database and Reporting 3 07-11-2003 10:13 AM
Help on ListBox.AddItem bondie Word, PowerPoint, Outlook, and Other Office Products 18 11-12-2002 01:50 PM
ListBox or ComboBox (?) to hold names, then select and play sound/movie Juanita General 2 06-21-2002 12:04 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net
 
Using Listbox or combobox on VB.net
Using Listbox or combobox on VB.net
 
-->