Hide a Console Appliction

  • Thread starter Thread starter Emil Rijnbeek
  • Start date Start date
E

Emil Rijnbeek

Hello,

I have here a console appliction made in Visual studio.
It's a little server that waits for incomming data from a port and IP.
The only problem is that if my computer(that i still want to use for work)
runs the program i have all the time a black console window.
Is there a way to hide the console window and get it away or hide from my
taskbar.

Thx, Emil
 
If you are at this point and you want a 'consol window'.

Perhasp make a windows form and set its opacity to 100% and make it not show
in the taskbar.
Add a notify icon on it so it runs in the bottom right ( near the clock ).
A double click on that icon, set the opacity to 0

(I am not sure if you are trying to display some "processing scrollbars" or
if this really is a full service in which case take a look at Scott M.'s
reply)

Cheers'

Miro
 
Hello,

I have here a console appliction made in Visual studio.
It's a little server that waits for incomming data from a port and IP.
The only problem is that if my computer(that i still want to use for work)
runs the program i have all the time a black console window.
Is there a way to hide the console window and get it away or hide from my
taskbar.

Thx, Emil

If you don't want the console, why make a console application?

Just make a standard Windows application with no forms and just
execute your code from a Sub Main.

If you need to use the Console.WriteLine method, then you will have to
either attach a console as Michael suggested, or use a console
application and then take steps to minimise the console.
 
Back
Top