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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top