you can try this:
try that out by creating a new project, add a checked list box and abutton to the blank form and run it. that should give you an idea of how to do that.VB Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load CheckedListBox1.Items.Add("hello", CheckState.Checked) CheckedListBox1.Items.Add("goodbye", CheckState.Checked) End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim emails As New ArrayList emails.AddRange(CheckedListBox1.CheckedItems) For Each s As String In emails Console.WriteLine(s) Next End Sub




Reply With Quote