How is VB.Net different from VB6?

Answer Posted / satyambabu

? VB6 was interpreter based language while VB.NET is
a compiled language

? VB6 was not a type-safe language while VB.NET is a
type safe language.

? 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.


? VB.NET uses .NET framework class library along with
specialized VB library (System.VisualBasic) as a standard
library. As a result, the standard library for VB.NET is
much enhanced and useful compared to VB6 standard library


? VB.NET is platform independent because of .Net
framework. Programs written in VB.NET can run on any
platform where .Net framework is present. The platform
include both hardware and software (operating system)
platforms.

? VB6 uses COM (Component Object Model) as component
architecture. VB.NET uses assemblies as its component
architecture. The Assemblies architecture has removed a lot
of problems with COM including DLL-Hell and versioning
problem.

? 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.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define manifest?

742


Can you please explain the difference between dispose and finalize()?

685


What is the use of system.diagnostics.process class?

770


What are the differences between server-side and client-side code?

729


Which class allows an element to be accessed using unique key?

702


i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate

2106


What do you mean by serialization and deserialization?

714


Explain the components of common language runtime.

756


Name the tool which can convert visual basic old version to .net compatibility version?

723


What are the different types of Lock available in Visual Basic?

837


Describe about visual basic.net?

736


What is trace in vb.net?

775


What are the different types of applications supported in .net (or) .net framework?

709


What is tracing?

789


What are the shared variables?

730