Console application

R

Reinier Beeckman

I have made a simple console application which run through the Windows scheduled
task. When the program is starten i get the console in the screen. Is it also
possible to configure it that the program runs but runs in background ??
 
I

Ignacio Machin

Hi Reinier,

Why don't you use a window app and do not show the main form. If you don't
have the source of the console app or you cannot change it for some reason
then you can wrap your console application in a window app with the above
feature and using Process.Start execute the console process in a hidden
window.

I do not know a way in which you can avoid the console window to appear. I
have never had need of it , though.

Cheers,
 

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