GAPVelocity.ai
VB6 AI Migrator converts the VB6 controls collection to a Helper Class that emulates most of the functionality of the VB6 controls collection; nevertheless this approach does not work in certain scenarios, in which manual chages are required to remove this issue.
Use the .NET Controls Collection.
Controls.Remove ("Text1")
ContainerHelper.Controls(Me).Remove("Text1")
Me.Controls.RemoveByKey("Text1")
ContainerHelper.Controls(this).Remove("Text1");
this.Controls.RemoveByKey("Text1");