>Dear The Expert,
>
>How to create control array programatically in VB.NET? ..(ie. for some conditions, my app. needs to create 15 textboxes ).. how to deal with this? ..
>
>thanks a lot in advance
>
>Regards
>Winanjaya
You could use Microsoft.VisualBasic.Compatibility.VB6.TextBoxArray.
NOTE: Using the classes in the Microsoft.VisualBasic.Compatibility namespace is not recommended (they are only meant to be used by the upgrade wizard) but I thought you should at least know this option exists.
The easiest way to see how to use the TextBoxArray class is to create a simple VB 6.0 app that has a array of textboxes and then run the project through the upgrade wizard.