解决未在此计算机注册ActiveX 控件

背景:

      老的项目框架中使用ocr控件,运行工程出现“未在此计算机注册ActiveX 控件 {EF347A62- BA21-42E4-94A0-1C0A6D7FDFE7}

分析:

      一开始啥都不懂,问度娘。遇到这种问题,不能盲目去 找,不然找了大半天还是无法解决问题。首先解决思路是:一定要查询这个注册码,根据注册码找到对应的控件。通过查询这个控件是MiDocViewer.MiDocView.1 - {EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7} <123> 。所以到这一步,我们知道了我们是 MiDocViewer 这个控件没有注册。

MiDocViewer 这个控件是 office2003带的ocr控件,要想不安装office 2003 . 那必须 安装独立的组件。

下载安装:

下载地址:https://download.csdn.net/download/luxgang/12036443

下载安装包。解压安装包. 阅读里面的说明。

右键"开始安装",选择"以管理员身份运行"。 进行安装。

如果顺利的话,将提示已注册成功的对话框。

 

如果遇到无法出现安装按钮。也可以手动注册:

Step1:解压“office_ocr_识别组件安装.rar”压缩包;

Step2:将“office_ocr_识别组件安装.rar”压缩包中的“OCR.ZIP”解压;

Step3:将“OCR.ZIP”压缩包中解压出来的“MODI”和“OFFICE12”文件夹拷贝到C:\Program Files (x86)\Common Files\Microsoft Shared目录下

Step4:以管理员身份运行“文字识别补丁包.zip”压缩包中的“开始安装.bat”文件,在运行的cmd.exe窗口中按任意键,弹出对话框注册MSPCORE.DLL成功,点击确定;

Step5:在cmd.exe窗口中再次按任意键,弹出对话框注册MDIVWCTL.DLL成功,同时cmd.exe窗口显示操作完成,表示office OCR文字识别配置完成。

 

重新打开VS2010 工程,查看资源,不再出现未注册控件的错误。

=========================================== TeeChart Pro Activex Control v5 Copyright (c) 1997-2002 by David Berneda and Marc Meumann All Rights Reserved. http://www.steema.com email: info@steema.com supportx@steema.com =========================================== July 2002 TeeChart Pro Activex Control v5 v5.0.4.0 Release notes: ===================================== For information about differences and use of TeeChart Pro ActiveX v5 with respect to TeeChart Pro ActiveX v4 please refer to the 'Upgrading from TeeChart v4.doc' document accessible via the TeeChart Program Manager group. =========================================== Changes for this release: ------------------------- Bugs resolved: 1. Print Preview from TeeCommander for multi-page Charts in v5.0.3.x functioned incorrectly. Now resolved. 2. ZoomPen definition failed to save in tee files. Now resolved. 3. Integer overflow error reported after multiple zooms. Now resolved. 4. The property 'Controls' in TeeCommander coincides with a protected word in VBA. To permit access to this functionality in VBA the method has been duplicated with name 'Buttons'. 5. Omission in previous releases, the OffsetValues ValueList for Bar3D Series is accessible by code for this release. 6. Omission in previous releases, MACD function has new Period3 property. 7. Visual Studio.NET doesn't support the passing as Interface of the Chart to the TeePreviewPanel AddChart method. A substitute AddChartLink has been added for this release to accept ChartLink. 8. The keyword 'Months' as a database field name was incompatible with prior translation system for non-english language versions' db access via the Editor. Now resolved. 9. TeePolar/Radar Series problem when labelling datasets of 13, 19, 25, etc. values. Internal rounding error resolved. 10.Help button on Chart Editor not functioning. Now resolved. New features: 1.
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值