Solved

Inheritance in VB?

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…

770 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