04 May, 2009

Hiding Execution Window for Console App

Ever did a nice little console applications that does something smart and you’re satisfied with what it does but it’s kinda irritating that it steals focus and flickers by the screen during execution. Could be something like the GUID generator I wrote a while back, described in my post: Creating GUID’s.

So here the simple solution:

  1. In Visual Studio 2008, right-click the project
  2. Choose Properties…
  3. Change Output type from Console Application to Windows Application.
  4. Done.

Windows Application


Tags: