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: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • Relying on outside companies to manage your network and server environments for your business and applications to meet the needs and demands of your users can be stressful. This is especially true as many Managed Hosting organizations fail to meet their service level agreements. Read this Forrester total economic impact report and learn what makes INetU different and how they exceed their customers' managed hosting expectations.

Most Popular Programming Stories

More for Developers

RSS Feeds