Solved

Vb.Net CheclistBox Current index

Posted on 2014-02-12
2
302 Views
Last Modified: 2014-02-12
In a CheckListBox with some options like the following:

* Car
* Moto
* Boat
* Bike
In this example first item as index=0 and bike as index=3 (i don´t know if index is the correct way to say). How canget when click in each item the value of index.
0
Comment
Question by:rflorencio
2 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39853625
SelectedIndices is the property that will give you indices of all the selected items

http://msdn.microsoft.com/en-us/library/system.windows.forms.listbox.selectedindices(v=vs.110).aspx
0
 

Author Closing Comment

by:rflorencio
ID: 39853978
Was not exactly what I wanted, however the example gave me an idea to solve the problem.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SLMGR Switches Are Not Working On KMS Host 3 97
Web Form VB.Net  import CSV 4 39
Get Client IP on RDS - VB.NET 15 49
VB.Net - Get ColumnNames of SQL Table 4 13
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question