Access to the registry key '[KEY_NAME]' is denied
问题 I'm writing a small program in Visual Basic 2008 that flips the values of specific DWORDs in a registry key The registry key in question is: 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render\{91801674-82d9-459a-9358-6e5cf3d81d21}\FxProperties' The dword I'm manipulating is " {e0a941a0-88a2-4df5-8d6b-dd20bb06e8fb},4 " This is the line of code I wrote to set the DWORD's value is this: Dim keyString = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows