I have created vb script for retrieving data from registry.this is my code and result
Code
Result
after I get the largest value from this list
Code
Result
and now I want to get value from landscapeImage key inside of that key.pls see the below image
extremely sorry for my bad English. that's why I share images. can anyone help me?
Code
VB.NET:
Dim x As Integer
Dim con = "\Connection"
Dim sysstn = "SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Creative\{computer user id is here}\"
Dim location As String = sysstn
Dim RegKey As Microsoft.Win32.RegistryKey = My.Computer.Registry.LocalMachine.OpenSubKey(location)
Dim subname() = RegKey.GetSubKeyNames
For x = 0 To subname.Length - 1
ListBox1.Items.Add(subname(x))
Next
Result
after I get the largest value from this list
Code
VB.NET:
Dim currentValue As String = ListBox1.Items.Item(0)
For Each Item As String In ListBox1.Items
If Item > currentValue Then
currentValue = Item
End If
Next
Label1.Text = currentValue.ToString
Result
and now I want to get value from landscapeImage key inside of that key.pls see the below image
extremely sorry for my bad English. that's why I share images. can anyone help me?