Console Application Basics

Like VB6 Windows applications, a console application needs a Sub Main as the starting point for the application. In Visual Basic .NET, console applications have no graphical user interface (GUI), so there is no form to designate as the main form. Also different from Windows applications is the means by which a console application gets input from the operator. Generally,console applications are not interactive, so a console application is generally a linear application. The operator starts the program passing the name of a file or files or command-line arguments to the console application, and it runs from beginning to end without interrupt.

You certainly could define user interaction with a console application by using ...

Get Visual Basic® .NET Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.