What are the disadvantages of using Visual Basic 6?

Tag: vb6 Author: chaiqiangbuaa Date: 2009-12-03

I hear that Visual Basic 6 is not good.

I want to make very generic program. Would Visual Basic 6 suffice?

What do you mean by "very generic programs"?
Why would VB6 be good for generic programs?

Other Answer1

The very first reason is that Microsoft no longer offers support for VB6 development. This product is end of life.




YES YES YES! Don't use VB6! This alone should suffice as the first and last reason to not use it. Throw in the relatively crummy libraries compared to .Net and the clumsier, less expressive syntax, and I can't come up with a single good reason to use VB6.
I'd only use it for something really trivial, non-long term maintenance, and I need something done fast because it'd be the only language i'd know, but does it not my case...
Well, then you can only use it on old Windows versions, as it does not worth the while to use it on Windows 7 if you hit anything Microsoft won't fix.
The IDE is no longer supported. The runtime is still supported.
Added another link which better states the key points.

Other Answer2

It worked well in its time, but it doesn't have a simple path forward. If you want to migrate to a newer version of Visual Basic, it can be a fair bit of work. And no new tools are being developed for it.

Other Answer3

If your major interest is in a cheap VB development environment, as previously mentioned, the Visual Studio Express editions are free from Microsoft.

I can't think of many good reasons to use VB6 instead of one of the express versions. Also as previously noted whatever VB skills you learn won't be particularly portable and the apps you build won't be able easily to migrate to more up-to-date environments.

Other Answer4

I will also have a look at Real Basic. It is a cross-compiler and your applications will run on different platforms. There are many options available in the market. It all depends on what your definition of "generic program" is.

Real Basic

Other Answer5

I have ever listen bad comments about Visual Basic 6 programming, I have written thousands of VB6 lines of code, in the same manner I have written code in object oriented languages (C++, C#, Java). But It seems to me that VB6 is a very good programming language, because it allows you to write powerful-simple applications. VB6 syntax is easier that C/C++ syntax but C#/Java aren't so much difficult that VB6. Also developing enterprise application is such new languages (Java, C#, VB.Net, Rubby) is easier that VB6 because they rely on Frameworks, every body can write C#/Java code that function, but it requires, tricks, good practices and some of imagination to write VB6 strong and rehusable code.

Many developers become quickly frustrating by using VB6 and then are happy programmers using C#/Java. All depends on practices and discipline there is no bad language, each language was designed with some purposes on mind, by selecting the appropriate language, problems solving could be easier.

Other Answer6

Forget VB6. It's a dead system. No support, no future. Use the Visual Basic Express Edition, as suggested above. It's free, useful, and about as "generic" as it gets anymore. Or, you could use something even better: Python (www.python.org). Or IronPython. (www.codeplex.com/IronPython). Much better system.


The VB6 IDE is no longer supported. The runtime is still supported.

Other Answer7

If you are approaching the programming world, and you want to do some programs, Visual Basic is more than sufficient.
Once you learned it, you will keep to use it.

As Visual Basic Express (which is the version that was before called Visual Basic .NET) is given free from Microsoft, maybe you could be interested in that.


Visual Basic Express editions (2005, 2008) are all for VB.NET, not for VB6.
That is true. I just wanted to make clear the difference, which could not be clear to anybody.

Other Answer8

Depending on what you mean by "Generic Programs" there are plenty of other environments/languages that you can create simple apps with, even at no cost.

Visual Basic is old and no longer supported by Microsoft, sounds like you may just have access to a copy.

Yes you certainly can create generic programs with it, but where do you go from there? Is this hobby programming?

Other Answer9

I'd say VB6 is still ok for (throw away) prototyping and probably better than VB.NET in that regard. A larger problem is the lack of true inheritance and being able to use the idioms available in .NET. As such it makes writing clean and maintainable code more difficult.


I disagree. WPF and VB.Net is one of the fastest prototyping tools I know of.
depends what you're doing. It's easier to set up networking by dropping a winsock control on a form. I personally find VB6 faster to prototype applications than VB.NET, but my company doesn't do WPF. Although I said VB was OK to prototype with, it's not good to develop with, I guess you're disagreeing with that?

Other Answer10

even bill gates wont suggest you to use it!! they stopped its support to make migration to newer versions faster. So now dont go and start a new project in a dead language. also there is no backward compatibility.

Other Answer11

Like others have said, Microsoft's support for VB6 has been discontinued. But no company "supports" C, so I would say that's not really a reason inherent to the language.

Another reason is support for objected oriented programming, which may or may not be important to you. To me, it is. VB6 is handicapped in this area. It doesn't really support interfaces. Also, arrays are some pain to work with. Checking whether an array has been properly intialized (a fairely trivial task, imho) involves some workarounds. It's not as simple as

If myArray Is Not Nothing Then ...

If you already know some Visual Basic syntax, then switching to VB.NET shouldn't be hard. You'll just have learn your way around the framework class library.


The VB6 IDE is no longer supported. The runtime is still supported.

Other Answer12

If someone tell you for any language the it's "not good" then just erase this person from your contact list.

There no good/bad languages. Horses for the courses.

As for disadvantages - you'll find such in any language.

Other Answer13

vb 6 is very good to approach the programmation with object and to know basic structure of programming . If you understand one language you CAN know the other. Is not important only the programm language, but the FLOW of data.