Windows 8的comctl32.ocx问题 [英] comctl32.ocx problem with Windows 8

查看:66
本文介绍了Windows 8的comctl32.ocx问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Windows 8上运行VB 6应用程序并收到错误"ComCtl32.ocx或其中一个依赖项未正确注册:文件丢失或无效"。


我遵循了这里的建议:



http://www.walkernews.net/2012/10/20/how-to-fix-windows-8-comdlg32-ocx-file-missing-error/


http:/ /support.microsoft.com/error.aspx?aspxerrorpath=/default.aspx/kb/957924


并下载Visual Basic 6累积更新VB60SP6-KB2708437-x86- ENU.msi,解压缩并将comctl32.ocx复制到Windows \ SysWOW64并使用regsvr32注册。我不再收到错误,但应用程序将无法加载。

任何人都可以了解一下,我通常不会在Visual Basic中编程,而是在C#项目中加入了VB 6可执行文件。


任何帮助都非常感谢。

解决方案


 我通常不用Visual Basic编程,但在C#项目中加入了VB 6可执行文件。


任何帮助都很大赞赏。


是的,那么你可能更喜欢在C#论坛中,VB6不像这个论坛那样偏离主题。


但是,您的问题不是关于编程,而是关于如何运行32位OCX。微软告诉上一个操作系统版本,根据老式VB运行时运行的代码是W7。有些人也可以在W8上运行,但这主要是在互联网上搜索
,并且绝不保证明天也会在系统更新后运行。 


在这个论坛中你的问题不在话题中<​​/ p>


Trying to run a VB 6 application on Windows 8 and I receive the error "ComCtl32.ocx or one of its dependencies not correctly registered: a file is missing or invalid".

I have followed the advice from here:

http://www.walkernews.net/2012/10/20/how-to-fix-windows-8-comdlg32-ocx-file-missing-error/

http://support.microsoft.com/error.aspx?aspxerrorpath=/default.aspx/kb/957924

and downloaded Visual Basic 6 cumulative update VB60SP6-KB2708437-x86-ENU.msi, unzipped it and copied the comctl32.ocx to the Windows\SysWOW64 and registered it with regsvr32. I no longer get the error but the application will not load.

Can anyone shed some light on, I don't normally program in Visual Basic but have incorporated a VB 6 executable in a C# project.

Any help greatly appreciated.

解决方案

 I don't normally program in Visual Basic but have incorporated a VB 6 executable in a C# project.

Any help greatly appreciated.

Yea then you are probably better of in the C# forum where VB6 is not off topic like in this forum.

However, your question is not about programming but about how to run that 32bit OCX. Microsoft told the last OS version which would run code depending from the vintage VB runtime was W7. Some get it also running on W8 but that is mainly a search on Internet and in no way guaranteed it will run tomorrow also after a system update. 

In this forum your question is off topic 


这篇关于Windows 8的comctl32.ocx问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆