Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create control array programatically in VB.NET?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00959620
Message ID:
00960033
Vues:
8
>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.
---
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://www.msmvps.com/windsor
http://www.g6consulting.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform