随笔 - 435  文章 - 0  评论 - 111  阅读 - 62万 

 

 解决方案在这里,中文的资料真的挺垃圾的。(重启几次之后又不行了。。。。怎么回事???)

安装.net framework4.0以上版本,

C:\Windows\System32C:\Windows\Microsoft.NET\Framework\v4.0.30319\regtlibv12.exe "c:\windows\system32\msdatsrc.tlb"

https://www.fmsinc.com/MicrosoftAccess/controls/mscomctl/index.htm

https://social.msdn.microsoft.com/Forums/vstudio/en-US/193b5c10-59c4-4d9c-9aff-d036086c741f/cannot-register-mscomctlocx-in-windows-7-32-bit

https://support.microsoft.com/zh-cn/help/2597986/ms12-060-description-of-the-security-update-for-office-2010-august-14

https://stackoverflow.com/questions/15614730/object-library-not-registered-when-adding-windows-common-controls-6-0

 http://www.kimgentes.com/worshiptech-web-tools-page/2014/7/19/loading-using-visualbasic-6-legacy-projects-on-windows-7-how.html

 

32 Bit Windows

    1. Unregister the new OCX file. Open an instance of the Windows Command Prompt, paste the following command, and press <Enter>:
      Regsvr32.exe /u C:\Windows\System32\MSCOMCTL.OCX
    2. Make a backup of the OCX file C:\Windows\System32\MSCOMCTL.OCX to C:\Windows\System32\MSCOMCTL.bak
    3. Copy a legacy version of the MSCOMCTL.OCX file to your C:\Windows\System32 folder. For your convenience, a zipped copy from 2011 is here.
    4. Register this legacy OCX file with the following command:
      Regsvr32.exe C:\Windows\System32\MSCOMCTL.OCX
    5. Unregister this legacy version of the OCX file:
      Regsvr32.exe /u C:\Windows\System32\MSCOMCTL.OCX
    6. Delete the legacy OCX file: C:\Windows\System32\MSCOMCTL.OCX
    7. Rename the new OCX file we renamed in step 2, back to its original name:
      C:\Windows\System32\MSCOMCTL.bak to C:\Windows\System32\MSCOMCTL.OCX
    8. Re-register the new version of the OCX file. Paste the following command and press <Enter>:
      Regsvr32.exe C:\Windows\System32\MSCOMCTL.OCX
    9. Reboot the computer.
    10. Open Microsoft Access and then retest the control. It should be working at this point.
posted on   Gu  阅读(675)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· 什么是nginx的强缓存和协商缓存
· 一文读懂知识蒸馏
· Manus爆火,是硬核还是营销?
历史上的今天:
2016-10-07 微信的redirect_uri参数错误原因分析
点击右上角即可分享
微信分享提示