DeleteRegistryKey

Private Declare Function RegDeleteKey Lib "advapi32.dll" Alias _
   "RegDeleteKeyA" (ByVal hKey As Long, ByVal lpSubKey As String) As Long 

' Ve Windows NT nepracuje, pokud klφΦ obsahuje podklφΦe 
Sub DeleteRegistryKey(ByVal hKey As Long, ByVal KeyName As String) 

   RegDeleteKey hKey, KeyName 

End Sub

Zp∞t

Autor: The Bozena