In VB.NET, create a new project. For this example, I used a WPF application. You can use a Windows Forms Application if you like. Add a button or whatever you like to the form. I created this About Visual Basic application with one button that only displays a message. This illustration shows the WPF XAML code in my application.