making a to do list

How do I make a to do list using checkboxes, a text box, and buttons that allows the user to input their own list items and when they click a button, it deletes the selected check boxes?
I am very new to Visual Basic (this is my first day using it) and I would like to use this as a feature in one of my programs.
[318 byte] By [Belisario93] at [2008-1-7]
# 1
It sounds like you may be interested in a CheckedListBox. Read more here.

If you really want to completely remove a control from a form and assuming its name is "CheckBox1."

Code Snippet

Me.Controls.Remove(CheckBox1)


nmadd at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 2

Do you want the to do list in a list box?

If so:

To add an entry

Code Snippet

list1.Items.Add(TextBox1.Text)

To delete an entry:

Code Snippet

list1.Items.RemoveAt(list1.SelectedIndex)

To clear all entries in the listbox

Code Snippet

list1.Items.Clear()

Hope this helps...
kevdog114 at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic General...