Chapter 12. Working with Collections and the System.Collections Namespace

After completing this chapter, you will be able to:

  • Manipulate the Controls collection on a form.

  • Use a For Each...Next loop to cycle through objects in a collection.

  • Create your own collections for managing Web site URLs and other information.

  • Use Microsoft Visual Basic for Applications collections within Microsoft Office.

In this chapter, you’ll learn how to use groups of objects called collections in a Visual Basic program. You’ll learn how to manage information with collections, process collection objects by using For Each...Next loops, and explore new objects within the System.Collections namespace. When you combine collection-processing skills with what you learned about ...

Get Microsoft® Visual Basic® 2005 Step by Step, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.