VB 控件版本是向下兼容的,如果有问题,请试试按微软官方网站下列页面中的“已知的问题”解决:
为 Visual Basic 6.0 Service Pack 6 运行库将累积更新汇总的说明扩展文件
http://support.microsoft.com/kb/957924/zh-cn
“已知问题”英文版:
Known issue
Consider the following scenario. You install this update on a computer that has a software solution installed. The software solution is based on Microsoft Visual Basic for Applications (VBA). The software solution creates an instance of the control directly through Microsoft Office. In this scenario, you may experience one of the following problems:
You may receive an error message that resembles the following when you try to run a macro:
Object library invalid or contains references to object definitions that could not be found.
When this problem occurs, the macro does not run.
You may receive an error message that resembles the following when you try to add one of the updated controls to an Office Visual Basic for Applications form:
Element not found.
When this problem occurs, the control is not added to the form.
To resolve the problem, delete cached versions of the control type libraries. To do this, search the hard disk for “.exd,” and then delete all occurrences. The .exd files are re-created automatically by using the new controls the next time that you use VBA.
相关链接:
Microsoft Visual Basic 6.0 Service Pack 6 累积更新
http://www.morgain.org/bbs/viewthread.php?tid=207 |