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

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
 
G

Guest

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.
 

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