Im trying to save the items in the listbox in Settings.Default but it will not work, this is what i have so far.
test.Properties.Settings.Default.list = listBox1.Items;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Have you tried with an
ArrayList?Then you could load the list back like so:
I’m also assuming that the items in your list are serializable (either implement
ISerializableor have theSerializableAttribute).