Solved

Inheritance in VB?

Posted on 2000-05-12
3
203 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

808 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