GAPVelocity.ai
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);
}
}