Hello i am making a sidebar and i ofund source for it but when i coppy any past the code which is below
Dim Key As RegistryKey = Registry.LocalMachine
'read the value of the Key
Key = Key.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0")
val = Key.GetValue("~MHz")
txtProc.Text = val & " (~MHz)"
key = nothing
It tells me Registry key is not defined when i look at my expample source it isnt defined anywhere any suggestions