There are all kinds of free wares, licensed tools available for cleaning registry, removing unwanted files, disk defragmentation etc.
But i couldn't find any open source project / code reference doing so.
Does any body have any idea how to do this for Windows OS programmatically?
Though my preference would be C# but any language reference is fine.
8 replies to this topic
#1
Posted 07 July 2011 - 02:59 PM
Today is the first day of the rest of my life
|
|
|
#2
Posted 07 July 2011 - 03:49 PM
Working in the registry isn't very hard, the trick is knowing what all the registry settings do.
#3
Posted 07 July 2011 - 08:49 PM
Well i do have a general idea of how it works and the usage of settings. I am familiar with editing / deleting entries using regedit.
What i was looking for was some API interface for accessing it and was a little surprised i didn't find any thing useful using google.
What i was looking for was some API interface for accessing it and was a little surprised i didn't find any thing useful using google.
Today is the first day of the rest of my life
#4
Posted 08 July 2011 - 01:31 AM
#5
Posted 08 July 2011 - 04:28 AM
Most languages I've dealt with have pretty reasonable Registry handling functions built in. I wouldn't look for it as an API, but simply as an element of the language.
#6
Posted 08 July 2011 - 09:43 AM
little registry cleaner is a fantastic open source windows registry optimizer.
It's small/lightweight, and fast.
it requires .NET to run. Little Registry Cleaner | Download Little Registry Cleaner software for free at SourceForge.net
I know this isn't what you asked, but you did say you couldn't find one. =) Perhaps it could give you some ideas.
This is one of those programs that commercial offerings should look to, for how to do it properly.
It's small/lightweight, and fast.
it requires .NET to run. Little Registry Cleaner | Download Little Registry Cleaner software for free at SourceForge.net
I know this isn't what you asked, but you did say you couldn't find one. =) Perhaps it could give you some ideas.
This is one of those programs that commercial offerings should look to, for how to do it properly.
#7
Posted 08 July 2011 - 11:24 AM
Thanks Revolt, some how i didn't came across that link. All i could find was tons of utilities but no code. It will definitely be very useful.
WP, perhaps i haven't worked with it before programmatically so had no idea about support as part of language. Plus my main stream experience is with C, even that not specific to windows API
Thanks sam_coder. I meant i couldn't find one with code. I will take another look though i suspect i have used it before and there wasn't much of implementation hints.
WP, perhaps i haven't worked with it before programmatically so had no idea about support as part of language. Plus my main stream experience is with C, even that not specific to windows API
Thanks sam_coder. I meant i couldn't find one with code. I will take another look though i suspect i have used it before and there wasn't much of implementation hints.
Today is the first day of the rest of my life
#8
Posted 08 July 2011 - 11:59 AM
hey no-problem-o, it's written in C#, code is available here:
http://launchpad.net...e_7_18_2010.zip
http://launchpad.net...e_7_18_2010.zip
#9
Posted 09 July 2011 - 12:55 AM
Ah yeah it looks pretty comprehensive. I was mistaken. Thanks sam_coder that would really help. I am skimming through the source now.
Today is the first day of the rest of my life
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









