File <name> cannot be registered as an ActiveX component.

The file cannot be added to the project's references. This error occurs when a file has been corrupted, does not contain type libraries, uses an incompatible file type, or when the system does not have enough resources to complete the operation.

To correct this error