You have to manually remove it from the project. Please take care the following things:
1. Back up the existing files.
2. Remove the control from dialogs.
3. Remove the files of wrapper classes for the ActiveX control from the project. As you know, Visual C++ IDE will generate and add wrapper classes for an ActiveX control. For example, we can add classes from the type libary of a control.
4. If the ActiveX control also listed in the controls list of dialog design view, you should close the project, open the <project>.dsw file in notepad, and delete the reference (UUID) to the ActiveX control. For example:
Package=<3>
{{{
{F0D2F21C-CCB0-11D0-A316-00AA00688B10} <<<---------REMOVE THIS LINE
}}}
However, removing the CLSID from the *WORKSPACE* that this pulls the control from *ALL* projects in the workspace. You may need to go back and re-insert the control in the projects where it is still needed.