Hi,
I have made this code and it does work with a normal string key, but with a multi-string value(REG_MULTI_SZ) key it does not :/
The error is this : Conversion from type 'String()' to type 'String' is not valid.Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim readValue As String readValue = My.Computer.Registry.GetValue("HKEY_CURRENT_USER\test", "test123", Nothing) For Each itemD As String In readValue ListBox1.Items.Add(itemD) Next End Sub
So how do i read from a multi-tring value registry key and list is all into the listbox ?
Thanks




Reply With Quote