BYTEINSIGHT
GAPVelocity AI Studio helps you move from outdated tech stacks to the latest desktop, web, and cloud platforms—smarter, faster, and with less risk.
Choose a platform to see migration options:
Our comprehensive approach to application modernization, from assessment to production deployment.
Transformation Services
Not Sure Where to Start?
This issue was fixed automatically in the VB6 AI Migrator version 2.2 using GAPVelocity AI helper classes.
Dim i As Integer
If Label1.Count <> 1 Then
'Unload labels by their indexes
For i = 1 To Label1.Count - 1
Unload Label1(i)
Next
End If
If Label1.Length <> 1 Then
'Unload labels by their indexes
For i AsInteger = 1 To Label1.Length - 1
ContainerHelper.UnloadControl(Me, "Label1", i)
Next
EndIf
If Label1.Length <> 1 Then
'Unload labels by their indexes
For i AsInteger = 1 To Label1.Length - 1
ContainerHelper.UnloadControl(Me, "Label1", i)
Next
EndIf
if (Label1.Length != 1)
{
//Unload labels by their indexes
for (int i = 1; i <= Label1.Length - 1; i++)
{
ContainerHelper.UnloadControl(this, "Label1", i);
}
}
if (Label1.Length != 1)
{
//Unload labels by their indexes
for (int i = 1; i <= Label1.Length - 1; i++)
{
ContainerHelper.UnloadControl(this, "Label1", i);
}
}