If you want the device name set in About then look at HKEY_LOCAL_MACHINE\Ident\Name.
Hello Andrew,
I have tried several permutations of trying to retrieve the name but all unsuccesfully.
this is the latest attempt
Reg.New1
reg.RootKey(reg.rtCurrentUser)
key = "HKEY_LOCAL_MACHINE\Ident\Name"
name = reg.GetValue(key, "Name")
Msgbox(name)
next i tried
If cPPC = True Then
Reg.New1
reg.RootKey(reg.rtLocalMachine)
key="Ident\Name"
name = reg.GetValue(key, "Name")
Msgbox(name)
End If
and this
If cPPC = True Then
Reg.New1
reg.RootKey(reg.rtLocalMachine)
key="HKEY_LOCAL_MACHINE\Ident\Name"
name = reg.GetValue(key, "Name")
Msgbox(name)
End If
and this
If cPPC = True Then
Reg.New1
key="HKEY_LOCAL_MACHINE\Ident\Name"
name = reg.GetValue(key, "Name")
Msgbox(name)
End If
but i get the same error message "an error occured retreiving the registry key"
Is there any code i could copy?
thanks
Joe