J
JAG
I'm attempting to add a subkey (Suppress DWF Upgrade Warning) and
value (1) to an existing registry key as follows:
Const userRoot As String = "HKEY_CURRENT_USER"
Const subkey As String = "SOFTWARE\AppDataLow\Software\Au​
todesk\Design_ Review\Preferences\User Interface\Suppress Warnings"
Const keyName As String = userRoot & "\" & subkey_
Registry.SetValue(keyName, "Suppress DWF Upgrade Warning",
1)
This code works great in XP, but in Windows 7 and Vista the Autodesk
key and subkeys are duplicated instead of adding the subkey and value
to the Suppress Warnings key as desired.
The permissions for the Autodesk key seem to be the same between XP
and 7/Vista, though I'm not too familiar with registry key
permissions.
Why the duplication?
Any help would be greatly appreciated.
value (1) to an existing registry key as follows:
Const userRoot As String = "HKEY_CURRENT_USER"
Const subkey As String = "SOFTWARE\AppDataLow\Software\Au​
todesk\Design_ Review\Preferences\User Interface\Suppress Warnings"
Const keyName As String = userRoot & "\" & subkey_
Registry.SetValue(keyName, "Suppress DWF Upgrade Warning",
1)
This code works great in XP, but in Windows 7 and Vista the Autodesk
key and subkeys are duplicated instead of adding the subkey and value
to the Suppress Warnings key as desired.
The permissions for the Autodesk key seem to be the same between XP
and 7/Vista, though I'm not too familiar with registry key
permissions.
Why the duplication?
Any help would be greatly appreciated.