Differences between VB 6 and VB.NET & Migrating VB 6 code to Microsoft VB.NET

  • Home
  • /
  • Blog
  • /
  • Differences between VB 6 and VB.NET & Migrating VB 6 code to Microsoft VB.NET
Try Free SQL Trainer - learn by doing!
SQL queries made easy - Natural Questions to SQL Converter.
ByteScout .NET Bear
VB 6 is old application development framework that targets the COM infrastructure which in turn depends upon the useable components of the windows framework. VB 6 is considered extremely simple since it doesn’t depend on outside components since all the functions and features that are required by the application are shipped in the form of runtime libraries with VB 6 application code. VB 6 code can either be compiled to interpreted P code or the native runtime code.
On the other hand, Microsoft VB.NET is the new generation language that targets .NET runtime and is part of Microsoft’s .NET Framework. VB .NET borrows usable components from .NET framework whereas execution of the VB.NET code is the responsibility of the .NET runtime. Since VB .NET code is first compiled into Microsoft intermediate language code which is common for all Microsoft languages such as C#, J# etc. This makes VB.NET eligible for back end programming language of ASP.NET applications as well. Following are some of the basic differences between VB.NET and VB 6.
  1. VB.NET uses .NET Common Language Runtime while VB 6 used VB-Runtime.
  2. VB.NET is a strongly typed or type-safe language while VB 6 is not strongly typed.
  3. VB.NET is a compiled language while VB 6 is an interpreted language.


Migrating code from VB 6 to VB.NET
Following are some of the blogs and articles that explain the process of converting VB 6 programs to VB.NET.
  • MSDN
  • StackOverFlow
  • CodeProject


  • VisualBasic.About.Com