无法打开 VB 项目,出现错误“C:\windows\system32\mscomctl.ocx";无法加载 [英] not able to open VB project, getting error "C:\windows\system32\mscomctl.ocx" could not be loaded
问题描述
我有一个 VB 项目能够正常工作,但是现在当我打开该项目时,我收到了 mscomctl.ocx 错误.我已经重新注册了 ocx,但仍然无法加载项目.
I have a VB project was able to work without any issues, but now when i open the project i am getting the error with mscomctl.ocx. I have re-registered the ocx but still am not able to load the project.
我该如何解决这个问题?
How can I fix this problem?
推荐答案
我在 Windows 7 64 位环境下打开项目时遇到了这个问题,它在 win XP 机器上正常工作.我之前在项目文件中做了一个非常简单的更改,它说
I was having this issue when I open the project on Windows 7 64-bit environment, it works correctly on win XP machine. I did a very simple change in project file earlier it says
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; MSCOMCTL.OCX
我将 2.1
更改为 2.0
,因为我在许多论坛中都看到过这样的内容,而且它的效果非常好.VBP
文件中更新的引用是
I changed 2.1
to 2.0
because I have seen it like that in many forums and it worked like charm.
The updated reference in VBP
file is
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCTL.OCX
这篇关于无法打开 VB 项目,出现错误“C:\windows\system32\mscomctl.ocx";无法加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!