Originally posted by OptimusPrime
i need to know if an item is checked / unchecked but cannot find out how to do this in .net

in vb6 the code was somthing like

lstCheckList.Checked(i)

this would return true or false but how do i do this in dot net ?
try this
VB Code:
  1. Dim i As Integer = CheckedListBox1.SelectedIndex()
  2.         Dim bool As Boolean
  3.  
  4.         If i = 0 Then
  5.             MsgBox("0")
  6.             bool = True
  7.         ElseIf i = 1 Then
  8.             MsgBox("1")
  9.             bool = True
  10.         ElseIf i = 2 Then
  11.             MsgBox("2")
  12.             bool = True
  13.         Else
  14.             MsgBox("none checked")
  15.             bool = False
  16.         End If