Is there any way to hide the windows and taskbar icons of an application and still let it run in the background? Any help would be appreciated
Printable View
Is there any way to hide the windows and taskbar icons of an application and still let it run in the background? Any help would be appreciated
You can set the ShowInTaskbar property of the form to false.
not sure about hiding the Taskbar tray ICONS though.
Paresh
More importantly though, is it possible to hide the Form window or console window of an application? I'm trying to write a simple server program that would run and then hide itself. I've got a working program, but as of right now i'm unable to hide it. Any help would be appreciated, or ideas on how this can be accomplished.
Create a console application and set in the project properties that it's a windows application. This will make it run in background. The only thing you will need to do is add some code like:
If you want to create server application I recommend writing a windows service.. this is better for your kind of application. It will automaticly run and you can only shut it down when logged in as system administrator :)Code:while(true)
{
blahblah();
}
Thanks much for your reply, this helps immensly. As for a service, I tried that at first, but I was unable to make MessageBoxes show from a service, so I decided to go with the hidden console idea. Thanks!