1. Computing & Technology

Discuss in my forum

VB.NET: What Happened to Control Arrays!!! (Part 5)

By , About.com Guide

1 of 8

William Benton shows us YET ANOTHER WAY to do Control Arrays IN VB.NET
William Benton's Control Array

William Benton's Control Array

An About Visual Basic Reader, has created his own unique solution to a problem that has attracted more attention than any other single issue here. In four previous articles, we have looked at various ways to provide the familiar - and useful - control array that VB 6 made available, but which is totally missing in VB.NET. Check out the Related Resources links to read the other articles. William's solution uses real arrays, not a collection like Selden McCabe used in part 4 of this series.

William writes that he looked, "for a more object oriented solution to the control array issue and I cracked it. Through the creation of a class, and the use of inheritance, I found that I can do everything I want to do, and still understand how it's happening!"

Great for you, William!

Let's see how he did it ...

©2012 About.com. All rights reserved.

A part of The New York Times Company.