Since Visual Basic 5.0, programmers have been able to define and implement interfaces. But what are they, and how can they be used in the daily programming routine?
[>] Creating Interface definitions in type libraries
Sometimes, an interface has to be distributed across a large number of development environments. We all know how distributing the pure source code may be less of an option, so compiling the interface into a type library could prove a good solution. In this article, I will show you how.
[>] Using the Implements keyword
In this article, we will look at how we can use interfaces in VB using the Implements keyword.
[>] Using TypeOf to test interfaces
In VB 5.0 and VB 6.0, the new Implements keyword allows you to create objects with multiple interfaces. Sometimes, you might need to test if an object being passed to you really implements the interface you think it does.
[>] What are interfaces?
With Visual Basic 5.0, a new keyword was introduced to Visual Basic: Implements.
The Implements keyword defines a new reality for VB programmers -- a world using interfaces.