sinbar 发表于 2009-5-14 16:14:42

MorGain2009版和其他vb开发软件冲突问题

您好,
我所在的设计院采用VBA开发了CAD中的一些插件,VBA中用了VB6的一些控件,
而装了2009版本的MorGain后,我发现以前能用的一些功能不能用了,
就是这些控件用不了了,比如common dialogtreeview等,

请开发人员帮助!
谢谢

Yan 发表于 2009-5-14 21:23:34

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
页: [1]
查看完整版本: MorGain2009版和其他vb开发软件冲突问题