Leverage the .NET Framework with Visual Basic.NET

Introduction

Using the .NET Framework, Microsoft Visual Basic developers can build robust applications that were very difficult to write in previous versions of Visual Basic. This article will discuss the the powerful features of the Visual Basic.NET and it`s Data types.

Need for Framework

Framework refers to the foundation on which you build and run applications. Having such a foundation makes it easier to build applications while using a consistent, simplified programming model.

We can use Win32 APIs to do things that we cannot do with the standard Visual Basic functions such as accessing arbitrary registry keys and values. In many cases, you also use Component Object Model (COM) component libraries to extend the application's functionality; the most obvious example is the ActiveX Data Objects (ADO) library that our application uses for data access.

While Visual Basic is flexible enough to offer these different extensibility mechanisms, that flexibility requires you to learn several complex API architectures. We have to learn how Win32 APIs work and how to call them from Visual Basic, which can be a time-consuming, error-prone task. You also have to learn how to use various COM components from Visual Basic, each with a different object model.

Finally, as you build your Visual Basic applications utilizing Win32 APIs, ADO, and possibly many other COM components, you now have to manage the deployment of those applications along with their dependencies. A typical Visual Basic application's dependency list includes much more than just the Visual Basic runtime; it must include all the libraries your application uses, such as ADO 2.6.

So the idea behind a common framework is to solve these problems and make it easier for you to develop robust applications without having to learn many different API architectures and without having to deploy and handle versioning for a dozen libraries.

You might also like...

Comments

About the author

G.Gnana Arun Ganesh

G.Gnana Arun Ganesh India

G.Gnana Arun Ganesh is the Administrator and the Founder of ARUN MICRO SYSTEMS (www.arunmicrosystems.netfirms.com). He has been programming in C++, Visual Basic, COM, Java and Microsoft Technolo...

Interested in writing for us? Find out more.

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Perl - The only language that looks the same before and after RSA encryption.” - Keith Bostic