Control array in VB6 as we know does not exist anymore in VB.NET. Microsoft Upgrade Tools will create an array for each of the VB6 standard control array using the functionalities in Microsoft.VisualBasic.Compatibility.dll. Tsentry includes the customized control array classes for some of the TPRI standard controls (ActiveShapeArray, CmdButtonArray…). For Microsoft WinForm controls there is an option to create control array using Microsoft.VisualBasic.Compatibility class. Microsoft upgrade tool will convert the existing VB6 control arrays.
Reference Microsoft.VisualBasic.Compatibility.dll Friend WithEvents labels As Microsoft.VisualBasic.Compatibility.VB6.LabelArray For the Tsentry standard controls use the included control array classes (ActiveShapeArray, CmdButtonArray…).
|