devxlogo

Inheritance

Inheritance

Question:
Is it possible for a class to inherit from another class?

Answer:
Unfortunately, VB does not currently support class inheritance. However, using a tool like ClassAction from Crescent or ClassAssist from Sheridan, you can get the desired effects. Both of these tools allow you to create the classes within in them, including any inheritance, and then they generate the final class modules. This is about the only solution I can recommend to make inheritance work. I’ve heard rumors about inheritance within VB 5.0, especially when it comes to building controls, but I can’t confirm them.

See also  Why ChatGPT Is So Important Today
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist