Hi,

I'm trying to create a combo box that, when I select an item, certain checkboxes become checked. I'm sure I can use an If Then statement to do that, but I'm running into a problem and I can't figure it out. I'll post the code below. If my code looks fine, I'll post the error. But, I'm sure I'm messing up somewhere

Thanks
Code:
Private Sub ConfigComboBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ConfigComboBox.SelectedIndexChanged
        If ConfigComboBox.SelectedItem = 0 Then
            chkbxKas.Checked = True
        End If
    End Sub