' Collection of code snippets by Arne Vajhøj 
' (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
Imports System
Imports System.Runtime.InteropServices

Module Main
    <DllImport("kernel32.dll")> _
    Public Function SetConsoleTitleA(lpConsoleTitle As String) As Integer
    End Function
    Sub Main()
        SetConsoleTitleA("Arne vindue")
        Console.WriteLine("Hello World!")
    End Sub
End Module
