Hi How can I use Sub Main (instead of start-up form) while still be able to use application framework? At present it seems I can have one or the other. I need it for an app that does not have a UI. Thanks Regards
"John" schrieb > Hi > > How can I use Sub Main (instead of start-up form) while still be > able to use application framework? Not possible. > At present it seems I can have > one or the other. I need it for an app that does not have a UI. The only thing I usually add is application.enablevisualstyles when I have my own sub Main. Armin
On Sun, 6 Jul 2008 17:14:23 +0200, "Armin Zingler" wrote: >"John" schrieb >> Hi >> >> How can I use Sub Main (instead of start-up form) while still be >> able to use application framework? > >Not possible. > >> At present it seems I can have >> one or the other. I need it for an app that does not have a UI. > >The only thing I usually add is application.enablevisualstyles when I have >my own sub Main. > > >Armin I also call: Application.SetCompatibleTextRenderingDefault(False) otherwise text renders differently at runtime than in the IDE.