Results 1 to 5 of 5

Thread: Lawrence Jesterton........

  1. #1

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472

    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.)

  2. #2
    Fanatic Member zmerlinz's Avatar
    Join Date
    May 2000
    Location
    in a world where the sun always shines on the bloody tv!!
    Posts
    604

    Wink

    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]

  3. #3
    Guest
    Someone helped me out with this. Refer to this link: http://forums.vb-world.net/showthrea...threadid=21286
    It may help you.

  4. #4

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    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?

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    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
  •  



Click Here to Expand Forum to Full Width