Use of Sub Main As Startup Instead Of Form

Hello All,

Does .Net still support the use of Sub Main as the startup object for an application I do not see the option to use it at all.

Regards,

V. Shane Curtis




Answer this question

Use of Sub Main As Startup Instead Of Form

  • Danny Tsai

    Hi

    The use of Sub Main is still very much supported. However, to set the option you have to turn off the option "Enable Application Framework" in your project properties. Then you will be able to select Sub Main from the list of Startup Objects.

    HTH


  • Use of Sub Main As Startup Instead Of Form