Registry Cleaner



Click here for a larger image.

Environment: VC++ 6.0, VB, Windows 2000

Introduction

If we compile a VB project in project compatibility and no compatibility mode, the VB environment generates GUIDs based on our modification. A typical VB COM developer machine environment often is filled with a lot of unused GUIDs. Unregistering COM objects by regsvr32 wouldn't remove all the Registry keys. This tool solves that problem by removing all the unwanted Registry keys.

There are some Registry cleaners available on the market for a couple of dollars. This tool is safe compared with other tools, in certain aspects. I used MFC for the CString and Dictionary classes. That adds some additional overhead. I wanted to finish up quickly, so I chose MFC.

This program will remove all COM Registry keys created by Regsvr32.

Using the Code

The user needs to prepare all the COM-based file names, including .oca, .ocx, and .dll into one ASCII file. Then, we need to call the Regclean ASCII file name with its path, for example:

Regclean c:\filename.txt

Points of Interest

This tool removes all the COM Registry keys, irrespective of versions.

Version History

This is version 1.0.

Downloads

Download demo project - 8 Kb
Download source - 3 Kb

Posting History



Comments

  • Undo

    Posted by Legacy on 10/11/2003 12:00am

    Originally posted by: wqweto

    please, create an undo.reg file!

    </wqw>

    Reply
  • This is dangerous

    Posted by Legacy on 06/10/2003 12:00am

    Originally posted by: peter desoza

    This is dangerous, i tried it on my machine and now some of my programs no more work

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Packaged application development teams frequently operate with limited testing environments due to time and labor constraints. By virtualizing the entire application stack, packaged application development teams can deliver business results faster, at higher quality, and with lower risk.

  • The hard facts on SaaS adoption in over 80,000 enterprises: Public vs. private companies Mid-market vs. large enterprise GoogleApps, Office365, Salesforce & more Why security is a growing concern Fill out the form to download the full cloud adoption report.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds