>Hi!
>
>Is it possible to delete a key in the registry without using regedit? I would like to do so with a .reg file or a VB program.
>
>I need to do that because I'm adding keys and I want to get rid of them when they are not usefull.
>
>Thanks!
>
>Martin!
See:
- mskb#
Q171424 'How to Remove Windows 95/98 Registry Entries Automatically'.
- mskb#
Q244675 'HOWTO: Use the Windows Script Host to Read, Write, and Delete Registry Keys'.
I'm not sure but I think I read somewhere that you can delete a registry entry on NT/Win2K by prefixing a key with "-" dash. You'll have to test it.
--sb--