不支持Interop UserControls的控件数组?

时间:2019-02-12 22:42:31

标签: .net winforms vb6 user-controls vb6-migration

in another question所述,可以使用Interop Forms Toolkit围绕Winforms用户控件创建包装,以便可以在ActiveX上下文中使用它,例如VB6或PowerBuilder表单。

该工具包包含说明以下内容的文档:

  

Interop UserControl限制

     

Interop UserControls是.NET控件,因此有一些   在Visual Basic 6.0中使用它们时的限制。

     
      
  • 不支持Interop UserControls的控件数组。
  •   

(具体是文件InteropUserControlsOverview.html)。

限制使用控制数组的原因是什么?有解决方法吗?

在VB6应用程序中使用控制阵列非常普遍,这可能严重阻碍了我正在考虑的某些迁移工作。

谢谢

0 个答案:

没有答案