Skip to main content

AccessTr.neT


Etiketler
Yazar: accessman - Cevaplar: 0 - İzleme: 2104
To read a value from a registry key
Use the GetValue method, specifying the path and name) to read a value from registry key. The following example reads the value Name from
HKEY_CURRENT_USER\Software\MyApp and displays it in a message box.
Kod:
Dim readValue As String
readValue = My.Computer.Registry.GetValue _
("HKEY_CURRENT_USER\Software\MyApp", "Name", Nothing)
MsgBox("The value is " & readValue)

Task