We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 42,369 times

Contents

Related Categories

Leverage the .NET Framework with Visual Basic.NET - Introduction

ggarung

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.

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 Technologies for 3+ years. Arun's background includes Bachelor degree in ECE.He is one of the Top authors writing articles in C# and .NET in various websites. He is an Active person in the panel of Technical Reviewers in Prentice Hall Publishers and Sams Publication. In .NET the last book he reviewed is the "C# how to program" written by Harvey and Paul Deitel. You can contact him through ggarung@rediffmail.com

Comments

  • re-install

    Posted by trooper on 05 Oct 2004

    re-install your prerequisites cd this will correct the problem.

  • reply

    Posted by trooper on 05 Oct 2004

    to create an actual installation cd-rom for your application you would copy the entire contents of the Release folder to writable cd-rom at this point. If the target computers don't include the .net f...

  • How to distribute small application in vb.net to m

    Posted by riaz_muhammad on 10 Mar 2004

    hello, I developed application in visual basic .net and when i tried to run this application in other computers then setup file prompt me message to first install the .net framework in the computer th...

  • Posted by JamesLang on 03 Jun 2003

    You probably figured this out by now but for anyone else with the same or similar problem looking for the old VB6 control array then you need to delegate the Event to a helper method.

    The helper m...

  • object names in arrays

    Posted by r.tulloch on 02 Apr 2003

    In my current project I have to check the state of a number of radio buttons. For example if I have to check the state of 100 buttons do I have to do each one individually, e.g.

    if radState0.checke...