system start-up detection

Hi ,
I have an application that runs in system tray with a notify Icon. It can also be launched from an exe in desktop as well as Program menu.
Whenever the system(computer) starts up, that application is automatically started( It is added to start up programs).
I want to modify the existing way of start up. At system start up it s'd not show up but will only appear in the system tray. But when clicked from desktop or programs menu it s'd show up and start normally.

What is the way to do it?

awaiting for responses...
Thanks,
Deb

[561 byte] By [Debasish] at [2007-12-16]
# 1
Hi,

You could add a commandline parameter when you add it to the start up programs, and then check for this parameter in your code. If the parameter exists you hide the Window.

C. Madsen

C.Madsen at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 2

Can you please provide a code sample or sort so that I can go ahead with it....

Thanks,
Deb

Debasish at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified