I am wanting to add a contact list to my program. I have a setting set called "contacts". I want the user to be able to type the person's name and email address. I have tried a code already but it won't work.
Please help me
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
My.Settings.Contacts.Add(TextBox1.Text & TextBox2.Text)
TextBox1.Text = ""
TextBox2.Text = ""
Form3.ListBox1.Items.Clear()
My.Settings.Save()
Me.Close()
End Sub
Please help me