Vb Classic Implementation Inheritance
How can you get Implementation-InheritanceInVbClassic, when the VbClassic language does not directly support it? The following are a few ideas on how to do it.
(Inheritance is an issue for some refactorings you'd want to do if you were RefactoringInVbClassic.)
2004 Note: This page is relevant to VbClassic only, as VbDotNet is a different animal all together
VbIiByDelegation:
VbIiByStatusFlag:' (...or VbIiSimulationWithTypeCode?)
VbStandardModuleAsBaseClass
Is VbIiByStatusFlag a strategy of "implementing a hierarchy of classes" by collapsing all methods up into the base class and using switch/case statements, based on a type code, to select the appropriate behavior for each method? (...just asking; I don't happen to have that book.) -- JeffGrigg
Of course, with each of these artifact, you must abandon the OpenClosedPrinciple. VB is ObjectTinted, not ObjectOriented.
Discussions in Newsgroups regarding use of Implements
The above has dialog as early as 1999, and as recent as 2004. A good Microsoft article cited within is located at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvb600/html/ifacebased.asp The article is taken from book Programming Distributed Applications with COM & Microsoft Visual Basic (ISBN 1-57231-961-5 )