读书人

急需! VB6.0怎么注册控件

发布时间: 2012-01-30 21:15:58 作者: rapoo

急需求助! VB6.0如何注册控件
用VB6.0开发的一个系统,安装完相关文件和客户端后,用户能正常使用,但是其中有一个下拉框下的一项无法打开使用,弹出了以下提示的对话框!应该是需要注册控件,具体应该怎么做呢,请高手们帮忙一下,多谢了!

Failed to activate control'VB.UserControl'. This control may be incompatible with your application. Make sure you are using the version of the control that was provided with your application.

[解决办法]
如果是OCX控件,你可以使用:Shell “regsvr32 .exe 路径”
[解决办法]
regsvr32 [你的控件的文件名(包含路径)]
例如:
regsvr32 d:\yourocx.ocx
如果是DLL文件
regsvr32 d:\folder\yourfile.dll
[解决办法]

探讨
用VB6.0开发的一个系统,安装完相关文件和客户端后,用户能正常使用,但是其中有一个下拉框下的一项无法打开使用,弹出了以下提示的对话框!应该是需要注册控件,具体应该怎么做呢,请高手们帮忙一下,多谢了!

Failed to activate control'VB.UserControl'. This control may be incompatible with your applicati……

读书人网 >VB

热点推荐