Sub Main()
Try
Application.EnableVisualStyles()
Application.SetCompatibleTextRenderingDefault(False)
Application.Run(New FormMain())
Catch ex As Exception
End Try
End Sub
Put this subroutine in a module and then right click on your project and select properties. In the properties window, uncheck the (enable application framework) checkbox and with the startup form drop down menu (combobox) select your sub main as startup object.
179a23b2-b6af-4108-b5c1-458f999326d9|0|.0