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

  • On-demand Event Event Date: December 18, 2014 The Internet of Things (IoT) incorporates physical devices into business processes using predictive analytics. While it relies heavily on existing Internet technologies, it differs by including physical devices, specialized protocols, physical analytics, and a unique partner network. To capture the real business value of IoT, the industry must move beyond customized projects to general patterns and platforms. Check out this webcast and join industry experts as …

  • On-Demand Webcast APIs can be a great source of competitive advantage. The practice of exposing backend services as APIs has become pervasive, however their use varies widely across companies and industries. Some companies leverage APIs to create internal, operational and development efficiencies, while others use them to drive ancillary revenue channels. Many companies successfully support both public and private programs from the same API by varying levels of access to different constituents. Nearly all …

Most Popular Programming Stories

More for Developers

RSS Feeds