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

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • It's not unusual for a company to use a variety of formal and informal file-sharing methods. Many methods are fraught with significant operational, financial, and legal risks in addition to other potentially negative business consequences. Strategic managed file transfer (MFT) software and services help connect the business "dots" between the various ad hoc and more systematic ways that files are moved. Read this white paper to learn how the right MFT solution, can bring order, structure, and, importantly, …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds