G
Guest
Hi everybody,
I have an application that minimizes to a NotifyIcon.
Occationally I get this error:
System.NullReferenceException: Object reference not set to an instance of an
object.
at System.Windows.Forms.NotifyIcon.UpdateIcon(Boolean showIconInTray)
at System.Windows.Forms.NotifyIcon.set_Icon(Icon value)
Does anybody know why this might happen?
I've run some tests & the NotifyIcon does NOT throws an exception is the
Icon property is set to null, so that's not the problem.
Thanks
Nadav
I have an application that minimizes to a NotifyIcon.
Occationally I get this error:
System.NullReferenceException: Object reference not set to an instance of an
object.
at System.Windows.Forms.NotifyIcon.UpdateIcon(Boolean showIconInTray)
at System.Windows.Forms.NotifyIcon.set_Icon(Icon value)
Does anybody know why this might happen?
I've run some tests & the NotifyIcon does NOT throws an exception is the
Icon property is set to null, so that's not the problem.
Thanks
Nadav