From: John on
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


From: Armin Zingler on
"John" <info(a)nospam.infovis.co.uk> 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

From: Jack Jackson on
On Sun, 6 Jul 2008 17:14:23 +0200, "Armin Zingler"
<az.nospam(a)freenet.de> wrote:

>"John" <info(a)nospam.infovis.co.uk> 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.