visual studio 2010 - How can I get my VB.NET forms application startup method to be Sub Main() in Program.vb? -
It is trying to behave like C #, where there is a programmable class with a static main method.
However, in project properties, I programmed. Vb can not be set as a startup object, only the form (this is a form application).
Am I missing something?
I am using VS2010 and the latest VB.
uncheck enable application framework
in project properties
Comments
Post a Comment