Vb 6.0 different from vb.net

Asked By 7060 points N/A Posted on -
qa-featured

Is V B 6.0 Different from vb. net. If so, how please explain.

Thanks for your reply in advance.

SHARE
Best Answer by chargomlim
Answered By 0 points N/A #82743

Vb 6.0 different from vb.net

qa-featured

 

Upgradations of VB.NET

1.    Object Oriented Concepts of Polymorphism, Inheritance and Encapsulation (PIE), operation overloading, parameterized constructors, class-level attributes and operations are incorporated into VB.NET.

2.    You can pass arguments to Function by Value and also By reference.

3.    Two or more variables can be declared with the same Dim statement.

4.    Data types Variant and Currency are erased, New Datatypes are Long & decimal.

5.    API’s are enhanced.

6.    Need to set name space for different commands. Need to know their classes where they are kept.

7.    Arrays can be created with index starting from 0.

8.    Default properties for a control are not available.

9.    Let Get and Resize properties are introduced.

10. Data Access ADO,DAO, RDO. etc

11.   Early Binding, Free threading are new issues.

Best Answer
Best Answer
Answered By 0 points N/A #82744

Vb 6.0 different from vb.net

qa-featured

Hi,

Difference between VB 6 and VB.Net

  •     Runtime Environment of the two versions are different. VB 6 used the VB-Runtime. VB.Net used the .Net Common Language Runtime (.Net CLR).

 

  •     In terms of object oriented support, VB.Net is much enhanced.

 

  •     VB.Net uses ASP.NET in creating web applications while VB 6 used ASP.

 

  •     VB 6 used standard library compared to .NET independent class library along with enhanced VB library of VB.Net

 

  •     Other features of VB.Net is you can use reflections to read the meta-data. It can also generate code to define and invoke types of runtime.

 

  •     VB.Net has Try…Catch… syntax to handle exceptions at runtime while VB 6 used 'On Error Goto'

 

  •     VB.Net has no hidden code from the developer, means you can access and control your application.

 

  •     VB.Net is a compiled language, VB 6 is interpreter based language.


Thanks!

Answered By 590495 points N/A #328306

Vb 6.0 different from vb.net

qa-featured

If you are wondering about the difference between VB or Visual Basic and VB.NET, here they are. Visual Basic, the classic version, is no longer actively maintained and it is the predecessor of VB.NET. VB.NET or Visual Basic.NET is a modern, object-oriented language. Visual Basic retains its name until version 6. But when version 7 was released which was released together with .NET 1.0, they change its name to VB.NET.

VB.NET is one of the many language tools supported within the bigger Visual Studio .NET suite and is based on a newer programming model than Visual Basic 6. The Visual Basic Classic IDE is no longer supported as of April 8, 2008. Visual Basic 6 was an interpreter-based language while VB.NET is a compiled language. Visual Basic 6 is non-object-oriented principle based language.

VB.NET, on the other hand, which looks similar to the old Visual Basic 6 from a coding style perspective, has more power because it sits on the .NET platform. In Visual Basic 6, data handling begins with DAO protocol then RDO and then followed by ADO (ActiveX Data Objects). With VB.NET, data is handled using ADO.NET.

Login/Register to Answer

Related Questions