|
-
Jun 30th, 2000, 02:57 PM
#1
Thread Starter
Hyperactive Member
ERRRRRRRRRRRHELP!!!!!!!
How can I search for a certain Key, then delete it from the windows registry...
(I looked at the tutorials, but they had to much info I didn't need.)
-
Jun 30th, 2000, 03:31 PM
#2
Fanatic Member
hi,
go to kedamans website and on hte download section there is a .bas that you can download that does exactly that
http://www.kedaman.com
Merlin ?
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
[ Galahtech.com] | [ My Site] | [ Fishsponge] | [ UnixForum.co.uk]
-
Jun 30th, 2000, 03:33 PM
#3
Someone helped me out with this. Refer to this link: http://forums.vb-world.net/showthrea...threadid=21286
It may help you.
-
Jun 30th, 2000, 04:37 PM
#4
Thread Starter
Hyperactive Member
Ok, none of thoes search out the actual key... I am looking for code that will search the key, more than focusing on deleting it, because that isn't a big problem..but I can't find crap on searching for a key...
Private Sub Command1_click()
ky = {123-124-5432-342-3432-124}
RegSearchKey ky 'This looks for the key
If ky <> "" Then 'or whatever the code is...
MsgBox "Key not found"
End
Else
RegDeleteKey ky 'This deletes the key once found
End
End If
End Sub
Is there not something like that i can use? It cant require that much to search the registy...can it?
-
Jun 30th, 2000, 07:53 PM
#5
transcendental analytic
Well this is a hard one, well if you know how to do a search method for directories, you probably could do that for registry too.
My registry module has a function that returns all subkeys in an array so you could have a go for it
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|
Click Here to Expand Forum to Full Width
|