RE: Problem checking checkedlistbox

From: Peter Huang (v-phuang_at_online.microsoft.com)
Date: 02/12/04


Date: Thu, 12 Feb 2004 01:34:32 GMT

Hi Trapulo,

Thanks for posting in the community.

>From your description, I know that when you set the checked state of a
checkedlistbox, the checkedlistbox control on the winform was not checked.

Did the problem persists when you just set the checked state with the hard
code state.
e.g.
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
        Me.CheckedListBox1.SetItemChecked(1, True)
    End Sub
After click the button, did the control was checked on the form.

Also can you simplify your code to reproduce the problem and post here or
send me a project by removing the "online" from my email address.

I look forward to hearing from you.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.