|
-
March 27th, 2003, 11:04 AM
#1
Hiding windows and taskbar icon
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
~Chris
-
March 28th, 2003, 12:41 AM
#2
You can set the ShowInTaskbar property of the form to false.
-
March 28th, 2003, 05:03 PM
#3
not sure about hiding the Taskbar tray ICONS though.
Paresh
- Software Architect
-
March 29th, 2003, 12:30 AM
#4
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.
~Chris
-
March 29th, 2003, 07:55 AM
#5
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:
Code:
while(true)
{
blahblah();
}
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
WM.
What about weapons of mass construction?
-
March 29th, 2003, 01:03 PM
#6
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!
~Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|