Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Registry Changes 1

Status
Not open for further replies.

LCD

MIS
Feb 19, 2001
72
US
I'm looking for information on how to completely remove a registry entry. All I seem to be able to find is info on writing and reading to it. Thanks -Andrew
 
Code:
Declare Function RegDeleteKey Lib "advapi32.dll" Alias "RegDeleteKeyA" (ByVal hKey As Long, ByVal lpSubKey As String) As Long

Declare Function RegDeleteValue Lib "advapi32.dll" Alias "RegDeleteValueA" (ByVal hKey As Long, ByVal lpValueName As String) As Long
 
Thank you, that worked perfectly.
-Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top