Solved

Vb.Net CheclistBox Current index

Posted on 2014-02-12
2
299 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now