Solved

Vb.Net CheclistBox Current index

Posted on 2014-02-12
2
306 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

615 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