Solved

Inheritance in VB?

Posted on 2000-05-12
3
208 Views
Last Modified: 2010-05-02
Can I use inheritance in VB?
If so,how?
Else what is the other alternative of inheritance in VB?
0
Comment
Question by:Debasmitha
3 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 2803769
IT will allegedly be included in VB7 but is not there yet. The alternatives completely depend on the individual scenario. It is almost impossible to give a simple answer to such a complex question.
0
 
LVL 1

Expert Comment

by:ofirg
ID: 2803806
you can use a collection of all the parameters you need within a class.
You will need to add your requested parameters to the collection and reffer them by the parameter name.
(use the parameter name as a Key to the collection and then you be able to reffer it easly).
0
 
LVL 3

Accepted Solution

by:
paulstamp earned 10 total points
ID: 2803818
VB does support some limited injheritance - although this is entirely interface inheritance and not implementation inheritance.

Take a look at the IMPLEMENTS keyword in the VB documentation for details.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question