you need to set the start up object to Sub Main.

Project Menu | Project Properties

change the Startup Object combobox to Sub Main