' Collection of code snippets by Arne Vajhøj ' posted to eksperten.dk, usenet and other places (2002-now) Imports System Imports System.Runtime.InteropServices Module Main _ Public Function SetConsoleTitleA(lpConsoleTitle As String) As Integer End Function Sub Main() SetConsoleTitleA("Arne vindue") Console.WriteLine("Hello World!") End Sub End Module