what is the difference between visual basic and visual basic.net?
-
spradhan01 Notebook Virtuoso
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 -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.
Hope you got it. -
so just to clarify, visual basic 2008 and 2010 uses .NET framework right?
-
"Classic" VB hasn't been updated since 1998. Use VB.NET for new projects. (I hadn't realized it, but apparently they dropped the ".NET" part of the name in their newer versions.)
-
thanks alot guys, you;'ve really helped this noob out. the names were confusing me. but now i know what's what, time to get programming
what's the difference between VB AND VB.NET?
Discussion in 'Windows OS and Software' started by lucirz, Sep 17, 2010.