How to create an invisible .NET Application?

Published on : Feb 5, 2007

Category : General

Saravana

Author

Formless application or in my terms invisible .NET applications. I recently end up in a situation where I want to run my console application on a regular schedule via Scheduled task. Problem with that is, it opens ups the schedule every time it runs the application.

There were few suggestions in the newsgroups to create a Windows NT service, or WinForms application and make the form invisible etc, etc. None of them were appropriate for me.

At last I ended up with a quick and efficient fix.

Go to project properties and set “Output Type” to “Windows Application” for your Console application.

Now, I can’t see the console anymore, and the application runs in the background quietly.

Nandri!

Saravana