Near Shore Consulting Ltd.
View Yves Rochon's profile on LinkedIn
Our Blog
Our Blog
Startup Object in VB.net 2005
Location: BlogsNear Shore Blog    
Posted by: admin 10/25/2006 9:26 AM

If you have ever tried setting a Windows Application startup object to Sub Main() instead of a Windows form, you may have come across this problem too.

Even if you have a Public Shared Sub Main() defined in one of your classes, the Sub Main option is not in the drop-down box of your project properties to select as a startup object.

This is a result of having the enable application framework checkbox checked in your project properties.  Unchecking that box will repopulate the drop-down list of potential startup objects to include Sub Main.

Permalink |  Trackback
Blog
Near Shore Consulting  |  Terms Of Use  |  Privacy Statement