Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is VB OOP?

Status
Not open for further replies.

sssdexter

Programmer
Oct 7, 2003
29
MY
Hi,

I am new to VB, some simple questions like to ask pro, Is VB 6 a OOP language? Can it do inderitance?

Thanks in advance
 
Simple answer is no. Complex answer is yes. VB is an object like language. Via classes you can get inheritance via interfaces and a bit more but it takes a bit more to code then other languages.
 
The technical answer here is that VB6 is NOT an OOP language like say JAVA or C++ are. It will not (at least I don't know of a way) to easily handle Polymorphism, TRUE Inheritance, etc. But VB6 does have a considerably shorter learning curve and is wonderful for QUICKLY creating usable business code. Very important quality these days!

Now having said that I must mention that the tables turn somewhat with VB7 (VB.NET). VB.NET does support MOST OO concepts.
 
Hi,

Which means VB.NET support all 3 major OOP concepts, that's greate news. By the way, if my VB6 program migrate to VB.NET, will it be a tedious work?

Thanks a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top