Mega Code Archive

 
Categories / VB.Net by API / System
 

Console WindowWidth

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