VB6 beginners tutorial - Learn VB6

Advanced VB6 tutorial - Learn Advanced VB6

Systems Analysis - System analysis and Design tutorial for Software Engineering

You are here: Visual Basic > Advanced VB6 tutorial > Chapter 12

Steps to Implement an Interface Class

To use Interface classes in your programming, you must take three basic steps:

  • Create the Interface class and define its members.

  • Implement the Interface in the appropriate server classes.

  • Refer to the Interface class in client code when the client needs to use features of server classes that belong to the Interface specification.

The following sections discuss these three steps.

  1. Creating the Interface Class

  2. Implementing the Interface Class in Other Classes

  3. Methods for Using the Interface Class in a Client
          Method A: Using an Object Variable in the Client
          Method B: Using Wrapper Routines in the Client



<< Previous | Contents | Next >>

Home | About Us | Privacy Policy | Contact Us

Copyright © | All Rights Reserved