Thank you very much for taking care of my little problems,
But I do not really understand, I mean I am not able to go My.settings.dictionnary, the only I can take her:
System.Collections.Specialized.StringDictionary
With it, I can not code enlightens the beginning that we must enter:
Code:
My.Settings.MyDictionnary = new Dictionnary(Of string,string)
and when I enter my favorite I get an exception error: Object reference not set to an instance of an object. and highlights in yellow the code:
Code:
My.Settings.MyDictionnary.Add(TextBox2.Text, TextBox1.Text)
Thank you again, Little precision, I use VB 2008 Express Edition
And also, while we're at it, how to make the Listview items Add with the code below (I mean, take the item and its Item.name item.Text)
Code:
For Each item As String In My.Settings.MyDictionnary
Dim item1 As New ListViewItem
item1.Name = item.ToString
item1.Text = item.ToString
ListView1.Items.Add(item1)
Next
Bookmarks