5

I'm moving from Java Development to a MSFT environment. The app is currently written in VB6 and while its going to go to VB.NET/C# in the future, I need to find a way to pick up VB6 now. I'm told its old, and there will be no books on it available these days.

Any tips? Sites?

Nidonocu
  • 12,476
  • 7
  • 42
  • 43
Andrew Harmel-Law
  • 7,739
  • 12
  • 44
  • 55
  • 4
    Keep in mind that Microsoft stopped the support for VB6, several years ago. – Moayad Mardini Jun 29 '09 at 08:35
  • 1
    @Moayad Microsoft stopped support for the IDE. The runtime is still supported, in fact it's considered part of Windows. – MarkJ Aug 18 '10 at 10:42
  • One thing that VB6 has going for it is an absolutely enormous volume of online and printed media documentation and Q&A. www.vbforums.com has a vast VB6 forum going back many probably 15 years or more. –  Feb 11 '16 at 18:00
  • Also keep in mind the effect this might have on your career. It's not so much that you're moving from Java to Microsoft as that you're moving from 2016 to 1998. Why would you ever want this on your CV? – Xav Mar 22 '16 at 23:55
  • I learned a lot from "An introduction to programming using Microsoft visual basic 5 and 6" by Beth Brown & Bruce Presley, its from Lawrenceville Press, its made from the times of windows 98, it even has a guide for windows 98, it's a great guide to vb6 that covers the, well... basics. A few sites, stackovervlow, planetsourcecode and many others. –  Jun 27 '16 at 19:41

5 Answers5

10

The best tip is to... RUN! ;-)

No, there are still tons to vb sites out there, and you should still be able to pick up loads of second hand books for VB6 for next to nothing.

Galwegian
  • 41,475
  • 16
  • 112
  • 158
2

There are tons of books and you can probably get them dirt cheap since the technology is so old. For example, I just picked up some extra copies of a 3" thick hardback books that I did some writing for back in 1998 for under $3 on Amazon.

Also, given its longevity there is a ton of reference material out on the Net for it that has accumulated over time.

Don't let people scare you about VB6, it is a bit primitive compared to modern development platforms, but it wouldn't be so widely used if it didn't get the job done. That said, go with a more modern development tool unless you don't have a choice for the reasons given by the others on this post.

JohnFx
  • 34,542
  • 18
  • 104
  • 162
1

I'm sure you can get some books on it. If Amazon has none, try Ebay?

It's a simple language, though - you shouldn't have much trouble picking it up! There's always the MSDN documentation.

I'm having the opposite problem: I've got a few old apps in VB and need to update one of them, but can't find the install media!

Valerion
  • 823
  • 8
  • 15
1

IMHO the step from Java to VB6 is not that big... If you install Visual Studio and the MSDN library that comes with it you have a good starting point. Look at some code, put the cursor at a function and press F1. The "online" documentation that comes with VB6 is really helpful, unlike later versions. ;-) Also the auto complete functionality in Visual Studio is really helpful. I find it more helpful that the in-line completion in Eclipse for Java.

One of the upside of the Visual Basic design is that it is designed to be human readable (with if-then-else instead of brackets and so on). Of course that comes down to the single developer to write understandable and well commented code there as well... A good starting point would be to find a guide that explains how different datatypes in VB6 are working. The difference between simple data types and objects. And how these are passed in to a function as an argument: "ByVal" versus "ByRef". I think this is one of the big "dangers" as a beginner in VB6. Once you get your head around it, it is easy.

Tooony
  • 3,741
  • 2
  • 17
  • 13
1

As previous posters said there is an absolute ton of help available for vb6 online and very cheaply on amazon. Francesco Balana's book "Programming Visual Basic 6.0" would be my recommendation as the best book to get. It's tough enough in parts but well worth the effort as the reason for that is the information he's delivering will give you a far deeper understanding of the subject than "for dummies" types of book. He's also written what is I believe is considered one of best books on the .net visual basic and is probably the foremost expert on migrating from vb6 to vb.net and the pitfalls therein.

kjack
  • 2,004
  • 3
  • 26
  • 41
  • He's also written one of the outstanding automatic tools for migrating VB6 to VB.NET www.vbmigration.com – MarkJ Mar 05 '09 at 14:45