Sorry to bother you again
But when I try this code it gives me an error. Where's the error please ?
---
Sub test()
Dim readValue As String
readValue = My.Computer.Registry.GetValue _
("\Local Computer Policy\User Configuration\Administrative Templates\System\Ctrl+Alt+Del Options\", "Remove Task Manager", Nothing)
MsgBox ("The value is " & readValue)
End Sub
But when I try this code it gives me an error. Where's the error please ?
---
Sub test()
Dim readValue As String
readValue = My.Computer.Registry.GetValue _
("\Local Computer Policy\User Configuration\Administrative Templates\System\Ctrl+Alt+Del Options\", "Remove Task Manager", Nothing)
MsgBox ("The value is " & readValue)
End Sub
My Computer
- Computer type
- PC/Desktop
- OS
- Windows 7 Ultimate x64