Sub Main in vs2005

  • Thread starter Thread starter John
  • Start date Start date
Hi,

In the solution explorer double click on my project to set the
project properties. Set the startup form to sub main.

Ken
----------------
Hi

How can I set my vb.net app to start with sub Main in vs2005?

Thanks

Regards
 
You can't select sub main unless you uncheck 'Enable application framework'
but then this removes xp themes. Catch 22.

Regards
 
sub main has been replaced by new events such as application startup,
shutdown and others in the application framework, consider redoing your
submain
 
I assume the code in a sub main that executes before a form is shown can be
moved to the applciation startup event then...is this correct?
 
Back
Top