[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VB 6.0

Posted on 2005-04-11
14
Medium Priority
?
250 Views
Last Modified: 2010-04-17
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
0
Comment
Question by:fishmanfishman
  • 3
  • 3
  • 2
  • +3
11 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 2000 total points
ID: 13751712
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 13752188
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
Industry Leaders: 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!

 
LVL 10

Expert Comment

by:Eduard Ghergu
ID: 13752530
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
 
LVL 96

Expert Comment

by:Bob Learned
ID: 13752542
Yeah, rudimentary, that's the word :)

Bob
0
 
LVL 24

Expert Comment

by:purplepomegranite
ID: 13752548
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
 

Author Comment

by:fishmanfishman
ID: 13760787
this still isnt really clear to me? sorry call me stupid!
0
 
LVL 4

Expert Comment

by:darkpriest
ID: 13760867
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
 
LVL 24

Expert Comment

by:purplepomegranite
ID: 13761125
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
 
LVL 24

Expert Comment

by:purplepomegranite
ID: 14220501
imho Dhaest provided two good links that pretty much cover it.  He answered first too...
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 14221393
Agreed.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

864 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