General discussion


Want To Learn VB6

By alpharay3 ·
I'm currently interested in learning but I've been avised to learn Vb6 first. I'd like to receive information on which websites may come in handy.
Pesonal advice from all programmers are also welcome.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -


by apotheon In reply to Want To Learn VB6

Why do you want to learn VB(anything)? That affects your choice of how to go about learning it, and is also a point of curiosity for me since, all else being equal, you're better off learning almost anything else (might want to look into C#.NET if you want a Microsoft-designed .NET application programming language, or something like IronPython or one of the .NET versions of Scheme if you just want to make use of the .NET framework for cross-platform development).

Collapse -

All else being...

by onbliss In reply to question:

..equal, why would you recommend against learning

Collapse -

a whole lot of reasons

by apotheon In reply to All else being...

The language is absurdly verbose, still shows signs of its line-oriented heritage, and has an object model second only in its terrible implementation among major programming languages to that of PHP -- but without the positive characteristics of PHP. It teaches bad programming habits for every other language in the world, pretty much. It's pretty much locked to a single platform, and under the complete control of a single proprietary vendor.

The problems with Visual Basic are pretty much innumerable.

Collapse -

I think Perl's OOP may be worse that PHP's

by Justin James Contributor In reply to a whole lot of reasons

Thank you! It is good to see that someone actually understands one of the things I dislike about PHP, it's kludgy OOP'ness. I agree, VB is an awful language (white space actually matters?!?!) to learn for someone who does not know programming up front. BASIC (ancient VAX/VMS or maybe a System V mainframe, don't recall) was my first language, followed by COBOL. If I hadn't next learned EdScheme, I would probably be damaged to this day from that experience. That being said, I think that Perl's OOPy-ness is probably even worse than PHP's.

Sometimes I really get the feeling that PHP is really a wrapper around Perl, and that they simply did some parsing before hand to translate the PHP into Perl. They just share so many of the same goofy behaviors. Except that PHP is not nearly as useful as Perl, IMHO. No one in their right mind writes PHP outside of a Web application environment. Yet, it tries to be general purpose, and does not focus enough attention on being a Web server language exclusively.


Collapse -

Yer nuts.

by apotheon In reply to I think Perl's OOP may be ...

Perl's object model has real objects with real protection and real data encapsulation, real multiple inheritance, and real methods. PHP just has scaffolding syntax that makes it more difficult in an object-oriented way to use functions. PHP simply doesn't have the ability, in current form, to implement a "real" object model. Its so-called object model just imposes a lot of OOP-like overhead for basically none of the benefits.

The reason PHP looks like a wrapper around Perl is simple: it started out as a set of libraries for Perl, written in Perl, and was later spun off into its own language. Of course, in doing so, it left most of the good stuff about Perl behind, along with most of the syntactic richness of Perl.

Collapse -

Whoever told you that...

by Justin James Contributor In reply to Want To Learn VB6

... has no idea of what they are talking about whatsoever. I suggest that you ignore this piece of advice from them. VB6 and VB.Net are very different languages. There is a reason why you need to convert (then hand cull) VB6 code to VB.Net.

Not only is VB.Net very different as a language (they are syntactically similar, they are almost different languages) from VB6, but the way of doing things in VB6 (essentially a friendly front end to COM) and VB.Net (essentially a friendly front end to the Windows API, via the .Net Framework) are so different, what you learn in VB6 is really not very usable in VB.Net.

Apotheon's advice is sound. If you're going to use .Net, C3 is probably a better choice anyways, unless you just need to do some quick and dirty stuff, in which case VB.Net is fine. I haven't run across any projects yet where C# would be of any additional advantage, yet, but if I had to start .Net from scratch, I would start with C#, not VB.Net. I don't know about Iron Python, it is still officially in beta. But then again, I am starting to play with F# (Microsoft's .Net implementation of OCaml), so who am I to talk?


Collapse -

I should have mentioned F#.

by apotheon In reply to Whoever told you that...

OCaml is an excellent language. Of course, I'd be more inclined to learn OCaml itself, rather than the .NET bastardization of it. The semantic structure of OCaml is a pretty significant part of its appeal, after all, and adapting it to use the .NET semantic structure sorta screws that up. .NET is a good way to hose up any really excellent language, copying its superficial syntax over the top of the .NET semantics.

I guess I'm sort of a purist.

Collapse -

I'm not a total purist, but 90% purist

Yeah, I am *just* starting F# (as in, "I have the stuff installed") and know absolutely nothing about OCaml, so I am really unable to compare Microsoft's implementation of it to "the real thing." I would imagine that some of it is kind of hack-ish. As you said, they needed to make it work within the .Net Framework. I am not a total purist, but I like things to be as pure as possible... for reasons of having my knowledge (if not my code, too) being cross platform. I like to be able to walk into a place, sit down, and start working, as opposed to learning the strange nuances of things. That's actually why, in a backwards logic sort of way, I like .Net in general. If you learn the .Net Framwork, the language used is a type of "minor nuance," and Microsoft nailed .Net perfectly when it comes to working across all versions of Windows without any changes.


Collapse -

You do not have to learn..

by onbliss In reply to Want To Learn VB6

...VB6 to learn VB.Net. I agree with James, that your advice is not correct. If you want to learn, you can just start learning it.

As far as the advice about learning C# than VB.Net, I am currently programming in C#. I do like it. But I programmed in VB.Net before, and before that in VB6 too. My recommendation would be to learn the language (VB.Net or C#) that you can immediately put into use.

Once you get familiar to the Namespaces (which is an ocean) and .Net framework, it does not take much to move from VB.Net to C#.

In my opinion there are more websites that address ASP.Net and cover, than Windows based applications. Maybe I did not look hard enough. is an useful website. Look at the best Patterns and Practices from Microsoft that addresses .net.

There are many articles and blogs on .Net, but they might be useful a little later, once you have gone past the basics.

Good luck....

Collapse -

what do you already know?

by Shellbot In reply to Want To Learn VB6

Can i ask what languages you do know?
I know someone who dove straight into .net but didn't "understand" programming and they had a **** of a time.
If your not very expereinced, i can see someone giving you that advice.
I don't see anything wrong with the, i wouldn't say go do a 3 year VB course, but whats wrong with doing a quick and dirty fly through it just to familiarise yourself with the basics of VB. If you are a qucik learner, take 6 weeks and learn a bit. Whats the harm?

Yes, I know VB6 and are different, but there is some stuff that is the same.

I am going to be starting my MCAD courses soon, and one of the prerequisites is that you either know some VB or some C. They don't want to waste everyones time by spending hours explaining the basics. (sorry, as your profile is not filled out, i am presuming you do not currently have a major proficiency in a language)

As for VB or C#, i am taking both, but if could only choose one, i would go for the VB as in this side of the world its more prominent. Its all well and good to have a personal preference, but when looking for a good paying job, sometimes you just have to go with whats out there.

Good luck !

Related Discussions

Related Forums