Some development tools, like Visual C++ and Delphi, allows the developer to easily create console applications. These tools provides specific methods and functions for writing to the console screen and their compiler also provides special option for creating console executable. Unfortunately, Visual Basic doesn’t support console applications. Even if you use the Win32 API for writing into the console screen, Your application won’t work, because the Visual Basic compiler always creates GUI application and it doesn’t provide any compiler options for changing it to console application.
This article explains the method of creating console applcation using VisualBasic
http://www.nirsoft.net/vb/console_application_visual_basic.html