您必须拥有使用activex控件的许可证 [英] You must have a license to use activex control
本文介绍了您必须拥有使用activex控件的许可证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我在我的vb.net项目中使用了msflexgrid。在我的机器上工作。当我把一个exe放到另一台机器(没有视觉工作室)时,它会发生一些错误,例如你必须拥有使用activex控件的许可证
感谢adavance
我尝试过:
msflex.createcontrol()
msflex.rows = 1
Hi
I used msflexgrid in my vb.net project. In my machine its working. when i put a exe into another machine(does not have visual studio) its occures some error like " you must have a license to use activex control"
Thanks in adavance
What I have tried:
msflex.createcontrol()
msflex.rows=1
推荐答案
您必须在目标机器上安装OCX。
另请参阅您收到错误消息当您在Visual Studio 2005或Visual Studio .NET中使用Visual Basic 6.0控件时,您没有使用此控件的许可证 [ ^ ]。
但是你应该避免使用随VB6提供的20岁控件。如果可能,请尝试替换它们。
You must install the OCX on the target machine.
See also You receive an error message "You do not have a license to use this control" when you use Visual Basic 6.0 controls in Visual Studio 2005 or in Visual Studio .NET[^].
But you should avoid using 20 year old controls delivered with VB6. If possible try to replace them.
这篇关于您必须拥有使用activex控件的许可证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文