|
-
September 7th, 2002, 01:40 PM
#1
Junior Member
regedit
Hi all, Im coding a new proggy and 1 of its features deletes a certain regedit key. Can someone please tell me how to do this? I been programming for about 2 weeks and im a bit stuck
-
September 7th, 2002, 01:47 PM
#2
Erm I think people may need a little more than that to go on, which programming language maybe..lol
just a thought
-
September 7th, 2002, 01:55 PM
#3
2 weeks just for making a script kiddie program for deleting peoples registry key?
You suck in programming 
Why you need it? you can manually delete your registry. May be you are trying to make a trojan horse.
Ok I'll help you a bit. just play with system.dat & user.dat files....
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."
- Albert Einstein
-
September 7th, 2002, 01:56 PM
#4
Junior Member
.
sorry 2 early lol. Visual Basic 
no need to be rude. Nope im making a zone unbanner. if u go on msn gaming zone.
-
September 7th, 2002, 02:28 PM
#5
Ok, This is the code For Deleting Values, Deleting Keys, and Creating keys.... Send me a copy of the program after your done =)
Deleting Values
Code:
Public Sub DeleteValue(ByVal hKey As Long, _
ByVal strPath As String, ByVal strValue As String)
Dim hCurKey As Long
Dim lRegResult As Long
lRegResult = RegOpenKey(hKey, strPath, hCurKey)
lRegResult = RegDeleteValue(hCurKey, strValue)
lRegResult = RegCloseKey(hCurKey)
End Sub
Deleting Keys
Code:
Public Sub DeleteKey(ByVal hKey As Long, ByVal strPath As String)
Dim lRegResult As Long
lRegResult = RegDeleteKey(hKey, strPath)
End Sub
Creating Keys
Code:
Public Sub CreateKey(hKey As Long, strPath As String)
Dim hCurKey As Long
Dim lRegResult As Long
lRegResult = RegCreateKey(hKey, strPath, hCurKey)
If lRegResult <> ERROR_SUCCESS Then
'there is a problem
End If
lRegResult = RegCloseKey(hCurKey)
End Sub
All the code came from this website by a simple google search....
Have fun!
-
September 7th, 2002, 03:09 PM
#6
Junior Member
cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|