Hi
I'm trying to delete 1 registry key. It is giving me exception as
System.Argument Exception: Cannot delete a subkey tree because the
subkey does not exist.
For deleting subkey, how to provide the key name?
For e.g.
1) "SOFTWARE\Micro soft\Windows\Cu rrentVersion\Un install" + "\\" +
subKeyName
Here "subKeyName " implies the software that is to be deleted.
OR
2) only subKeyName
OR
3)
"HKEY_LOCAL_MAC HINE\\SOFTWARE\ \Microsoft\\Win dows\\CurrentVe rsion\\Uninstal l"
+ "\\" + subKeyName
Any help / clue will be very much helpful.
Thanks in advance.
Regards
Asawari
I'm trying to delete 1 registry key. It is giving me exception as
System.Argument Exception: Cannot delete a subkey tree because the
subkey does not exist.
For deleting subkey, how to provide the key name?
For e.g.
1) "SOFTWARE\Micro soft\Windows\Cu rrentVersion\Un install" + "\\" +
subKeyName
Here "subKeyName " implies the software that is to be deleted.
OR
2) only subKeyName
OR
3)
"HKEY_LOCAL_MAC HINE\\SOFTWARE\ \Microsoft\\Win dows\\CurrentVe rsion\\Uninstal l"
+ "\\" + subKeyName
Any help / clue will be very much helpful.
Thanks in advance.
Regards
Asawari
Comment