Using Sub Main with application framework

  • Thread starter Thread starter John
  • Start date Start date
J

John

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 said:
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
 
Not possible.


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.
 
Back
Top