Click here to Skip to main content
13,052,351 members (36,327 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


7 bookmarked
Posted 28 Jul 2011

Remove Notifyicon from system tray

, 28 Jul 2011
Rate this:
Please Sign up or sign in to vote.
Remove Notifyicon from system tray while closing the application from external application (killing proccess from another application)
I used NotifyIcon in one application and it's running. The icon showing in system tray. When i close my application directly, the NotifyIcon also not visible. Because i called NotifyIcon.Dispose() method in form_Closed method.

But I close my application through external application. That is find the Process and kill that process. So my application was closed, but NotifyIcon is not removed from system tray.
Previously i used ProcessName.Kill(), now it's changed to
Then close the my application and NotifyIcon from system tray also.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Ramanujam Shankar
Web Developer Mahindra Logisoft Business Solution Limited, Chenn
India India
No Biography provided

You may also be interested in...


Comments and Discussions

GeneralReason for my vote of 2 best of all Pin
Enomfon24-Aug-11 3:46
memberEnomfon24-Aug-11 3:46 
GeneralReason for my vote of 1 Obvious? Pin
Paul Pencoed3-Aug-11 6:20
groupPaul Pencoed3-Aug-11 6:20 
GeneralReason for my vote of 2 The meaning of the tip is unclear. T... Pin
GATzilla28-Jul-11 19:07
memberGATzilla28-Jul-11 19:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 28 Jul 2011
Article Copyright 2011 by Ramanujam Shankar
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid