Using Sub Main with application framework

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
 
A

Armin Zingler

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
 
J

Jack Jackson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top