mt******@yahoo.com wrote:
why microsoft drive me to yield one feature!? I need "application
framework enabled" and use with Module as StartUp???
You don't need to yield anything. Just create a module with a function
called Main (or anything you want to call it). Then in the Project
Application property pane, turn off the "enable application framework"
check box, and select the Main function in the Startup object drop
down. Then, first thing in the Main function do the call:
Application.EnableVisualStyles()
You will probably want to open a main form eventually in Main, and the
best way to do that is to instantiate an instance of the form's class,
and call it with:
Application.Run(FormName)
This is the standard format I use for all VB.NET Windows applications.
>
Patrice wrote:
This is likely because you have the application framewoerk enabled. If you
don't need just disable the applciation framework and those options should
be back again...
Patrice
<mt******@yahoo.coma écrit dans le message de news:
11*********************@q2g2000cwa.googlegroups.co m...
>I not see on project property way to config my project to start from
module or class instead from Form on Win App?
>