This Example using Standard EXE Project With addition of a Module File.
Create New "Standard EXE" Project. So here, a Form will get added to the Project by default.
Add a Module File to the Project
Place a Command Button on the Form
Create Command Button Click Event.
Module code...