Search code examples
.netvb.netvisual-studio-2008programming-languagesvb6

What is the difference between VB and VB.NET?


What is the difference between VB and VB.NET?

Explanation with examples is preferred.


Solution

  • If you're making a choice for a new project then the pertinent points are:

    • VB6 is legacy (released 1998, the IDE is no longer supported, and the runtime only supported for the lifetime of Win8)
    • VS2008 doesn't support VB6
    • VB.NET is a modern language, supported in VS2008

    I'd say there are very few reasons (if any!) to choose VB.OLD over VB.NET.

    If you're "just interested" then the Wikipedia article on each language is quite informative, but in a nutshell they are quite different languages that have superficially similar syntax. VB had its own runtime, where VB.NET is one of many languages that use the more modern .NET Framework.