making a to do list
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.
If you really want to completely remove a control from a form and assuming its name is "CheckBox1."
Me.Controls.Remove(CheckBox1)
Do you want the to do list in a list box?
If so:
To add an entry
list1.Items.Add(TextBox1.Text)
To delete an entry:
list1.Items.RemoveAt(list1.SelectedIndex)
To clear all entries in the listbox
list1.Items.Clear()