VB.Net Tutorial/Development/Console
Change some characteristics of the command window
<source lang="vbnet">Module Module1
Sub Main() Console.Title = "Custom Command Window" Console.BackgroundColor = ConsoleColor.White Console.ForegroundColor = ConsoleColor.DarkBlue Console.WindowHeight = Console.LargestWindowHeight - 15 Console.WindowWidth = Console.LargestWindowWidth - 15 "Call a few methods to clear and pause the window. Console.Clear() End Sub
End Module</source>