G
Guest
Is there a way I can delete one part of a multi string registry key, with out
deleting the whole key?
Currently I have the following code witch deletes the whole key.
Private Sub DeleteAlertFilenamesEntrys(ByVal sk As String, ByVal f As
String)
Dim key As Microsoft.Win32.RegistryKey
Dim a As String
a = "Software\NetGearLogReder\Default" + "\" + f
key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(a, True)
key.DeleteValue(sk)
key.Close()
MsgBox("Hello")
End Sub
deleting the whole key?
Currently I have the following code witch deletes the whole key.
Private Sub DeleteAlertFilenamesEntrys(ByVal sk As String, ByVal f As
String)
Dim key As Microsoft.Win32.RegistryKey
Dim a As String
a = "Software\NetGearLogReder\Default" + "\" + f
key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(a, True)
key.DeleteValue(sk)
key.Close()
MsgBox("Hello")
End Sub