Windows Vista - http://www.vistaarticles.com
Remove an ActiveX Control in Windows
http://www.vistaarticles.com/articles/137/1/Remove-an-ActiveX-Control-in-Windows
By 
Published on 11/23/2006
 
This article describes how to remove an ActiveX control from your computer, error messages that may occur when you attempt to remove an ActiveX control, and the use of multiple ActiveX control (Occache) folders in Internet Explorer 4.0 and later.

Remove an ActiveX Control in Windows

Internet Explorer 4.x or later, include the Occache.dll file, which is used to enumerate, update, and safely uninstall ActiveX controls using a "shell folder." 1. Click Start, point to Settings, click Control Panel, double-click Add/Remove Programs, and then click the Install/Uninstall tab.
2. If the ActiveX control you want to remove appears in the list of installed programs, click the ActiveX control, click Add/Remove, and then follow the instructions on the screen. If the ActiveX control does not appear in the list of installed programs, continue with the next step.
3. In Windows Explorer or Windows NT Explorer, double-click the Windows\Downloaded Program Files folder or the Winnt\Downloaded Program Files folder, right-click the ActiveX control you want to remove, and then click Remove.
4. When you are prompted to remove the ActiveX control, click Yes.

IMPORTANT: The following ActiveX controls should not be removed if you are running Internet Explorer 4.0: DirectAnimation Java Classes

Internet Explorer Classes for Java
Microsoft XML Parser for Java
Win32 Classes
Internet Explorer 5.0 or later does not require these components in the Downloaded Program Files files.

Error Messages Removing ActiveX Controls
When you attempt to remove an ActiveX control using an Occache shell folder, you may receive one of the following messages: Share Violation These program files are currently being used by one or more programs. Please close some programs, and try again. You may need to restart Windows.
Component Removal About to remove a Windows system DLL: (<path\filename>). Okay to delete?
Share Violation:

This message occurs if the ActiveX control you are trying to remove is currently loaded in memory by Internet Explorer or the Active Desktop component.

To resolve this error message, follow these steps: 1. Close all open Internet Explorer windows.
2. Disable the Active Desktop. To do so, right-click an empty area on the desktop, point to Active Desktop, and then click View As Web Page to clear the check mark.
3. Remove the ActiveX control by following the steps in the "Internet Explorer 4.0 or Later" section earlier in this article.

NOTE: You may need to restart Windows before you remove the ActiveX Control.
Component Removal:

This message occurs only in versions of Internet Explorer 4 prior to 4.01 Service Pack 1 (SP1) when the ActiveX control you are removing installed files into a folder other than a registered Occache folder (for example, Windows\System or Winnt\System32). Occache cannot always determine if those files are shared by their programs.

If you are certain the file or files displayed in the message are not being used by Windows or another program, click Yes. Otherwise, click No.

NOTE: In Internet Explorer 4.01 SP1 and later, Occache does not remove (or prompt you to remove) dependent files outside of a registered Occache folder.

Support for Multiple Occache Folders
Internet Explorer 4.0 and later supports multiple Occache folders. The list of Occache folders is located in the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ActiveX Cache
By default, Internet Explorer 4.0 and later uses the Windows\Downloaded Program Files or Winnt\Downloaded Program Files folder. If you upgraded from Internet Explorer 3.x, both an Occache and Downloaded Program Files folder may exist. In this case, all new ActiveX controls are installed in the Downloaded Program Files folder, but previously installed ActiveX controls still work in the Occache folder. When you open the Occache or Downloaded Program Files folder in Windows Explorer, Windows NT Explorer, or My Computer, all ActiveX controls are displayed regardless of the folder in which the ActiveX control's files are located. In this case, the following string values appear in the registry key: "0"="C:\\WINDOWS\\OCCACHE"
"1"="C:\\WINDOWS\\Downloaded Program Files"