hi there
i have 2 ques.
1-i want to know how i can put my application to the system notification area?and when i click its icon a menu appears.
2-i want to run my app as a windows xp service so it have to run at windows startup?
this have to be done with C#.
Thanks for your time
El-Sayed Mohamed
Loading
silkkengPosted Aug 9, 2005, 3:33 AM
From my understanding. To put an icon at the system tray, you will need to use ContextMenu + NotifyIcon.
Notify Icon would be the one you saw on the system tray. eg. Volumn Speaker control.
Context Menu, would be used to 'Catch' the right click events on that notify icon.
Then on Context Menu, you set what you need to load.
LocalMachine.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Run",
True)Set the startup registry at the local machine. Please make sure you do includes all the required header file.
David
Smile Always : ) !