I want to store the information in the form into the registry.



Heres my code:

Code:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click

Dim Value As String

Value = ComboBox1.Text

My.Computer.Registry.CurrentUser.CreateSubKey("MRU")

My.Computer.Registry.SetValue("HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\", _

"MRU", "" & Value)

End Sub


If I press Button3, it creates a value "MRU" in HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\

BUT.. If I put something else in the ComboBox, it overwrites the registry value when I press Button3 again.

How is it possible to make it add MRU1, MRU2, ect ?



Now I have MRU0 to MRU10 in the registry.

If I press the Button3 now, it creates MRU key, but if I edit the value in the combobox, it overwrites.

I want it to create MRU11, MRU12, ect...



Thanks in advanced!