
Advanced Programming Concepts • Chapter 6 229
and projects.This is useful when you are dealing with many objects. Most of the
objects you use—along with many objects you were familiar with in Visual Basic
6.0—are under the COM tab.
Implementing Interfaces
The use of the Implements keyword has changed from Version 6.0 of Visual
Basic.The Implements statement allows you to use a form of inheritance in
Visual Basic .NET.You can implement a class or an interface in Visual Basic
.NET with the Implements statement. Here is an example:
Public function TestFoo (ByVal sWork as String) as Integer
Implements ImyInterface.Run
An interface is comprised of the methods ...