i got some checkbox and i want to retain the selected ones when i reopen the form.
here's what i done almost but it only returns the very first selected checkbox only..

```
For Each strItm As String In str
        For Each ctl As Control In Me.Controls
            If TypeOf ctl Is CheckBox Then
                If ctl.Text = strItm Then
                    Dim cb As CheckBox = DirectCast(ctl, CheckBox)
                    cb.Checked = True
                End If
            End If
        Next
    Next

```

and anyone help me out. tnx in advance. more power.