Michael,
In addition to the other comments.
Be certain to call Dispose on the NotifyIcon when you app exits, this
ensures that any unmanaged resources its holding are cleaned up. I would not
use the visible = false method as that is "hiding the icon" rather then
"clean up the resources"...
Do you have an forms application that happens to have a notify icon, or do
you happen to have a notify icon that happens to have a form?
When I have a notify icon that happens to have a form I normally do
something like:
http://groups.google.com/group/micr...2baa27752c8?lnk=st&q=&rnum=1#0f48f2baa27752c8
http://groups.google.com/group/micr...02af50ca7de?lnk=st&q=&rnum=2#4998f02af50ca7de
http://groups.google.com/group/micr...2a27479a427?lnk=st&q=&rnum=3#ddb0f2a27479a427
If I had a forms application that happens to have a notify icon, I would be
certain to call dispose of the icon when the form closed (or the application
exited).
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley -
http://www.tsbradley.net
in message | Thank you in advance for any and all assistance.
|
| I have an application that places a notifier icon in the start tray. When
| the application closes, the icon appears to stay, till I place my mouse
over
| it and then it will disappear. Can someone point in the direction of code
to
| dispose of the notifier icon when the application closes?
|
| Michael