Myth - Visual Basic is an object-oriented language

December 2016


Visual Basic is an object-oriented language.




This myth is popular, but unfortunately its false: VB6 is not an object-oriented language.

Consider the basic principles of object orientation:
  • Encapsulation: gathering data structure (attributes) and processes (methods) in a unit whose implementation is hidden. It is impossible in VB6/.
  • Inheritance. It is impossible in VB6 to create an object that derives from another.
  • Polymorphism: It is not possible in VB6, overloading methods and operators. And type "variant" is not a response to the polymorphism of inheritance.

Note that: VB.Net is an object-oriented language, but it is a language completely different from VB6.

Related :

This document entitled « Myth - Visual Basic is an object-oriented language » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.