VB 6.0

I thought VB 6.0 was object oriented but someone said to me it is object based can remember why theysaid it was. Is this true why isnt it object oriented and why is it object based? Any help or websites that exploain the difference. cant find any
fishmanfishmanAsked:
Who is Participating?
 
Bob LearnedCommented:
VB6 was half-baked at best when implementing Object-Oriented programming.  One of the biggest problems is inheritance, which was solved in VB.NET.

Bob
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
Eduard GherguLeader SibiuCommented:
The answer is somehow between the two programming paradigms. VB is object based because it can use objects provided by runtime libraries like ActiveX components. It is somehow object oriented because you can use a rudimentary form of polymorphism using interfaces and inheritance using classes.
0
 
Bob LearnedCommented:
Yeah, rudimentary, that's the word :)

Bob
0
 
purplepomegraniteCommented:
Bob is absolutely correct, VB is not object oriented.  Objects were added on later and not entirely implemented.  VB.NET is truly object-oriented (i.e. was written from the ground up in this way).

VB isn't even object-based really (IMO) - the language was developed before OOP was, and hence needed a complete rethink for VB.NET.
0
 
fishmanfishmanAuthor Commented:
this still isnt really clear to me? sorry call me stupid!
0
 
darkpriestCommented:
VB.NET is Object VB6 is Just an imitiation, thats all you gota know, vb6 is great for small scripting programs but as far as programming power jump to vb.net
0
 
purplepomegraniteCommented:
Ok, stupid ;)... just kidding, you asked, lol

OOP is entirely based around objects.  Objects are everything, the whole system revolves around objects and their interactions.

Object based can simply use objects.  They don't have to though, e.g. a VB program could simply be a page of code that manipulates text.  This would simply be a routine.

The first two links describe it pretty well - if it isn't clear from these, then it would be worth looking on th einternet for descriptions of OOP until you find on ethat makes sense.  It should then become clear why VB isn't OOP.
0
 
purplepomegraniteCommented:
imho Dhaest provided two good links that pretty much cover it.  He answered first too...
0
 
Bob LearnedCommented:
Agreed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.