Put a program in the system tray at startup

Posted by cosmo0 on Stack Overflow See other posts from Stack Overflow or by cosmo0
Published on 2008-11-12T11:10:24Z Indexed on 2010/04/30 8:37 UTC
Read the original article Hit count: 237

Filed under:
|
|

Hi

I followed the commonly-linked tip for reducing an application to the system tray : http://www.developer.com/net/csharp/article.php/3336751 Now it works, but there is still a problem : my application is shown when it starts ; I want it to start directly in the systray. I tried to minimize and hide it in the Load event, but it does nothing.

Edit : I could, as a poster suggested, modify the shortcut properties, but I'd rather use code : I don't have complete control over every computer the soft is installed on.

I don't want to remove it completely from everywhere except the systray, I just want it to start minimized.

Any ideas ?

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about vb.net