How can we delete a particular RegistryKey from the registry
I want to delete it when the application get closed

what do u mean by that mr dragon

He means click on the link, go to that manual page explaining how to use that function, read how it works, check out the example that link provides, experiment with it to see if you can make it work for your particular needs, then if you can't get that to work after you've done that, come back with a follow up question.

Sorry VeronDozier,
I mistook his caption(RonaldRegan Qoutes).
I got another function SHDeleteKey() and its
working fine with my application
Thanks for ur reply

I mistook his caption(RonaldRegan Qoutes).

:icon_cheesygrin: