Chapter 7. Working with Objects in Visual Basic

<feature><title></title>

In this hour, we will cover

  • The difference between objects and classes

  • Creating an object

  • Setting an object’s properties

  • Calling an object’s methods

  • Handling an object’s events

  • Examples of creating objects from classes in the .NET Framework

</feature>

In Hour 5, “Understanding Visual Basic’s Variables and Operators,” we looked at using variables and operators in Visual Basic. In Hour 6, “Managing Program Flow with Visual Basic’s Control Structures,” we looked at control structures, such as If statements, looping constructs, and subroutines and functions. We need to discuss one more important topic regarding Visual Basic before returning to ASP.NET. Specifically, we need to examine ...

Get Sams Teach Yourself ASP.NET 3.5 in 24 Hours, Complete Starter Kit 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.