How to: Have a console mode application start-up in Hidden Mode?

  • Thread starter Thread starter ESmith
  • Start date Start date
E

ESmith

I want to create a small console application that essentially gets some
information and then launches a Windows Application. What I want to do is
have the console application launched in hidden mode - I know how to do this
from with a Windows Application by creating a Process and using StartInfo,
but how can I configure a console application to run in hidden mode from
startup?

TIA
 
I want to create a small console application that essentially gets some
information and then launches a Windows Application. What I want to do is
have the console application launched in hidden mode - I know how to do this
from with a Windows Application by creating a Process and using StartInfo,
but how can I configure a console application to run in hidden mode from
startup?

Don't use a console app - use a windows app. Program main to do what you
want to do as if it were a console app. So long as you don't start any
forms, the windows app will run window-less.
 
Back
Top