The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    what's the difference between VB AND VB.NET?

    Discussion in 'Windows OS and Software' started by lucirz, Sep 17, 2010.

  1. lucirz

    lucirz Notebook Consultant

    Reputations:
    7
    Messages:
    273
    Likes Received:
    8
    Trophy Points:
    31
    what is the difference between visual basic and visual basic.net?
     
  2. spradhan01

    spradhan01 Notebook Virtuoso

    Reputations:
    1,392
    Messages:
    3,599
    Likes Received:
    5
    Trophy Points:
    106
    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. :D
     
  3. lucirz

    lucirz Notebook Consultant

    Reputations:
    7
    Messages:
    273
    Likes Received:
    8
    Trophy Points:
    31
    so just to clarify, visual basic 2008 and 2010 uses .NET framework right?
     
  4. swarmer

    swarmer beep beep

    Reputations:
    2,071
    Messages:
    5,234
    Likes Received:
    0
    Trophy Points:
    205
    "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.)
     
  5. lucirz

    lucirz Notebook Consultant

    Reputations:
    7
    Messages:
    273
    Likes Received:
    8
    Trophy Points:
    31
    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 :D