How to make a program not show up in Alt-Tab or on the taskbar
I have a program that needs to sit in the background and when a user connects to a RDP session it will do some environment setup then launch a program. When the program is closed it will do some housekeeping and logoff the session. The current way I am doing it is I have the terminal server launch this application. This is built as a windows forms application to keep the console window from showing up: public static void Main() { //(Snip...) Do some setup work Process proc = new Process(); //(Snip...) Setup the process proc.Start(); proc.WaitForExit(); //(Snip...) Do some housecleaning