How can the Controls Collection be upgraded?
To add and remove controls at run time, Visual Basic 6.0 provides the Controls Collection. One of the major disadvantages of this model is that the it does not support Microsoft IntelliSense® technology. You have to remember the methods, parameters, and ProgID of the control to add. The upgrade wizard does not automatically upgrade Visual Basic 6.0 code using the Controls collection Add method because of changes in the behavior of Add between Visual Basic 6.0 and Visual Basic .NET. It is relatively easy to add and remove intrinsic controls in Visual Basic .NET. In Windows Forms, the form model used in Visual Basic .NET, controls are indexed by number instead of name. To remove a control by name, you have to iterate through the Me.Controls collection, find the desired control, and remove it. In the Visual Basic 2005, the Controls collection provides methods that allow removing controls in the same manner as Visual Basic 6.0, so you will not have to iterate through the Controls collectio