What Is VB.NET?
VB.NET is a programming language designed to create applications that work with Microsoft’s new .NET Framework. The .NET platform in turn addresses many of the limitations of “classic” COM, Microsoft’s Component Object Model, which provided one approach toward application and component interoperability. These limitations included type incompatibilities when calling COM components, versioning difficulties (“DLL hell”) when developing new versions of COM components, and the need for developers to write a certain amount of code (mostly in C++) to handle the COM “plumbing.” In contrast to VB, with its reliance on COM, VB.NET offers a number of new features and advantages. Let’s take a look at some of these.
Object Orientation
With the release of Version 4, Visual Basic added support for classes and class modules and in the process became an object-oriented programming language. Yet the debate persists about whether Visual Basic is a “true” object-oriented language or whether it only supports limited features of object orientation.
The debate centers around Visual Basic’s support for inheritance, an object- oriented programming concept that allows a class to derive its properties and its functionality from another class. Proponents of the view that Visual Basic is object- oriented point to Visual Basic’s support for interface-based programming and the use of virtual base classes. Yet relatively few VB programmers take advantage of interface-based programming. And interface-based ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access