Solved

Inheritance in VB?

Posted on 2000-05-12
3
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: 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

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

726 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