Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Please send me the solution, I m developing a software in vb.net.. now I need to recover Registry.. I don't have any idea
Posted
Updated 7-Jul-11 1:56am
v2
Comments
Sergey Alexandrovich Kryukov 7-Jul-11 1:33am    
What do you mean by recovery? What is the "dirty" state of the Registry and what is the desired state after clean-up? There are many aspects of cleaning the Registry; and the Registry cleaners are pretty complex utilities. At the same time, the access to the Registry is pretty easy (but it your code has bugs you can mess up the Registry very well). What kind of cleaning do you mean?
--SA
Dibu.net 7-Jul-11 7:07am    
I mean,what does the registry cleaning softwares actually do? How to Optimize the registry? please help me
#realJSOP 7-Jul-11 8:21am    
The best way to opimize the registry is to reinstall Windows.
Smithers-Jones 7-Jul-11 8:01am    
Ouh, a shiny new tag? GimmeExactCode. Nice. Only the second question to be tagged like that.

You are not developing anything if you're asking us for the code. To 'clean' the registry, you need a DB of known apps and their keys, so you can look for orphaned keys and delete them. That's just one way to clean the registry. I'd suggest if you have no idea where to start, that you test your code on a machine you're happy to lose Windows on, as I'm sure you'll break it more than once.
 
Share this answer
 
Comments
Smithers-Jones 7-Jul-11 3:40am    
"I am developing" seems to have become synonymous with "I am going to ask others to do my work and then pretend that I did it myself".
Dibu.net 7-Jul-11 8:10am    
ya,bcz I hv already developed a s/w and registry cleaning is another portion of this tool
I know how to access the registry using vb6 / vb.net and vbscript . but I don't have idea how to design a registry cleaner.. I want to know how to access registry using API in vb.net. What is the task of a Registry cleaner? How to recursively compare duplicate values? .. If u have source code then please give me .. thanks in advance
I can tell by your question that you don't have enough in-depth knowledge of how the registry works to write such an application. The registry is a delicate house of cards, and if you go in there mucking with it, you could hose up your machine. Registry "cleaning" could potentially involve changing or deleting THOUSANDS of entries.

If you want registry cleaning software, my recommendation is to buy it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900