Hi,
Can any one please give me some information about,
What is difference between VB and VB.Net ?
Hi,
Can any one please give me some information about,
What is difference between VB and VB.Net ?
VB .Net is similar to VB 6.0 in terms of graphical user interfaces.
The IDE is compatively much sophisticated.
VB .Net differs from VB in terms of functionality and includes a lot of other features that is available from the .Net architecture.
The main difference is that VB .NET utilizes the .NET framework, which is basically a huge set of different types of objects and classes you can use. A lot of the basic coding is the same, but there are new things to call into.
Also, a lot of new controls.
Any langauge run in the .NET framework compiles down to Intermediary Langauge(IL) which is basically microsoft's custom made assembly langauge. So if you code a program in C# and then go and code the exact same program in VB .NET or any other langauge which utilizes the .NET framework, it all ends up pretty similar in the end, they all compile down to IL.
Following are some basic difference between VB and VB.net.
- VB6 was not a type-safe language while VB.NET is a type safe language. There is no variant type in VB.NET and no magical type conversions happen in VB.NET
- VB6 used ‘On Error Goto’ syntax to handle exceptions at runtime. VB.NET uses the Try…Catch…Finally syntax to handle exceptions at runtime.
- VB.NET has much enhanced object oriented support than VB6
- VB6 does not allow developing the multithreaded applications. In VB.NET you can create multithreaded applications.
- VB6 was only considered good for desktop windows application. In VB.NET you can also develop web applications, distributed applications, create .NET windows and web controls and components, write windows and web services.
- In VB.NET, you can also use reflections to read the meta-data of types and using reflection emit you can also generate code to define and invoke types at runtime.
- Components created in VB6 (COM) need to make and update registry entries. VB.NET does not require any registry entry making the deployment easier
- VB6 used ASP to build web applications. VB.NET uses ASP.NET to build web applications.
- VB6 used ADODB and record-sets to implement data access applications. VB.NET uses ADO.NET and datasets to build data access applications. The ADO.NET also supports the disconnected data access.
Bookmarks