Visual Basic is a family of programming languages and integrated development environments (IDEs) developed by Microsoft. The term encompasses two related but distinct technologies: Classic Visual Basic (versions 1.0 through 6.0, released from 1991 to 1998) and Visual Basic .NET (rebranded simply as Visual Basic, released from 2002 onward as part of Microsoft's .NET platform).
Classic Visual Basic
Classic Visual Basic is a third-generation programming language based on BASIC, accompanied by an IDE designed for Microsoft Windows. It was known for supporting rapid application development (RAD) of graphical user interface (GUI) applications, event-driven programming, and both the consumption and development of components via the Component Object Model (COM) technology.
The first version, Visual Basic 1.0, was released in May 1991 at the Comdex/Windows World trade show in Atlanta, Georgia. The drag-and-drop interface design was derived from a prototype form generator developed by Alan Cooper and his company, code-named "Tripod" and later "Ruby." Microsoft combined this interface generator with an embedded BASIC engine to create Visual Basic. Cooper is often referred to as the "father of Visual Basic."
The final release of the classic line was Visual Basic 6.0 in 1998. Microsoft ended mainstream support for Visual Basic 6.0 on March 31, 2005, and extended support in March 2008, though the core Visual Basic 6 runtime environment continues to function on supported versions of Windows, including Windows 10 and Windows 11.
Key characteristics of Classic Visual Basic
- Enabled rapid development of GUI applications using drag-and-drop placement of controls on forms
- Supported event-driven programming
- Used reference counting (rather than modern garbage collection) for memory management through COM
- Was not case-sensitive in its code syntax
- Used a single apostrophe (') to denote comments
- Boolean
Truehad a numeric value of −1, consistent with Microsoft BASIC's tradition - Allowed array lower bounds to be any value
- Could compile to native code (from version 5 onward) or P-Code
Classic Visual Basic faced criticism for issues including "DLL hell" (versioning problems with shared libraries), limited object-oriented programming support, and dependence on complex COM registry entries.
Visual Basic .NET
Visual Basic .NET (VB.NET) was launched in 2002 as the successor to Visual Basic 6.0. It was implemented on the .NET Framework and is one of the three main languages targeting the .NET ecosystem, alongside C# and F#. The ".NET" portion of the name was dropped in 2005, making the name "Visual Basic" ambiguous between the classic and .NET versions.
VB.NET is a multi-paradigm, object-oriented language. It differs significantly from Classic Visual Basic in semantics: it runs on the Common Language Runtime (CLR), which uses generational garbage collection and just-in-time compilation, rather than the reference-counted COM engine. Key data-type changes included doubling the Integer type from 16 to 32 bits and the Long type from 32 to 64 bits.
Version history of Visual Basic .NET
- 2002 (VB 7.0) – Initial release with .NET Framework 1.0
- 2003 (VB 7.1) – Released with .NET Framework 1.1
- 2005 (VB 8.0) – ".NET" dropped from the name; introduced the "My" namespace, generics, partial classes, and operator overloading
- 2008 (VB 9.0) – Added LINQ support, lambda expressions, anonymous types, and XML literals
- 2010 (VB 10.0) – Improved dynamic language interoperability
- 2012 (VB 11.0) – Added async/await and iterators
- 2015 (VB 14.0) – Added the
?.null-conditional operator and string interpolation - 2017 (VB 15.x) – Various refactoring and language improvements
- 2019 (VB 16.x) – First version focused on .NET Core
- 2022–2026 (VB 17.x) – Continued maintenance releases
Language strategy
On February 6, 2023, Microsoft updated its Visual Basic language strategy, stating that Visual Basic is a stable language that Microsoft will continue to maintain, but that it will not add support for new workloads. The language remains supported by the core .NET libraries, and security updates continue to be delivered through the .NET runtime.
Derivative technologies
Microsoft and other organizations developed several derivatives of Visual Basic:
- Visual Basic for Applications (VBA) – A scripting language embedded in Microsoft Office and third-party products; largely the same language as Visual Basic 6.0
- VBScript – A scripting language used for Active Server Pages and Windows scripting
- Visual Basic .NET – The primary successor (described above)
- OpenOffice Basic – A Visual Basic-compatible interpreter in StarOffice/OpenOffice
- Gambas – A Visual Basic-inspired free software language for Linux
Legacy and current status
Classic Visual Basic retains a significant legacy user base, with many business-critical applications still relying on it. All versions of the classic Visual Basic IDE are no longer supported by Microsoft, although third-party efforts continue to extend the environment's capabilities. Visual Basic .NET remains a supported, maintained language within the .NET ecosystem, though Microsoft has indicated it will not receive new feature development beyond stability and maintenance work.
Further reading
- Microsoft Visual Basic documentation (learn.microsoft.com/dotnet/visual-basic/)
- "Visual Basic (classic)" – Wikipedia
- "Visual Basic (.NET)" – Wikipedia