S
Stewart Berman
Windows XP Pro SP3 with all patches
VS 2005 with all patches
I have a long running application with a GUI foreground task and a BackgroundWorker task. It
includes a NotifyIcon that sits in the tray. The GUI removes itself from the taskbar during startup.
When the GUI is minimized it sets me.visible=false. The NotifyIcon can be used to restore the GUI.
The application was running for about two and a half days when I noticed that the NotifyIcon was
missing from the tray. The application itself was still running and writing trace messages. I was
able to restore the GUI with a little utility I have. The GUI was fine as was the BackgroundWorker
tast -- it was still updating a progress bar on the GUI.
I closed the application and restarted it and the NotifyIcon was back in the tray.
There isn't any code in the application that would remove the NotifyIcon from the tray.
The only reference to the visible property of the NotifyIcon is in the main form designer code in
the InitializeComponent section where it is set to true.
What could make the NotifyIcon disappear without affecting the rest of the application?
VS 2005 with all patches
I have a long running application with a GUI foreground task and a BackgroundWorker task. It
includes a NotifyIcon that sits in the tray. The GUI removes itself from the taskbar during startup.
When the GUI is minimized it sets me.visible=false. The NotifyIcon can be used to restore the GUI.
The application was running for about two and a half days when I noticed that the NotifyIcon was
missing from the tray. The application itself was still running and writing trace messages. I was
able to restore the GUI with a little utility I have. The GUI was fine as was the BackgroundWorker
tast -- it was still updating a progress bar on the GUI.
I closed the application and restarted it and the NotifyIcon was back in the tray.
There isn't any code in the application that would remove the NotifyIcon from the tray.
The only reference to the visible property of the NotifyIcon is in the main form designer code in
the InitializeComponent section where it is set to true.
What could make the NotifyIcon disappear without affecting the rest of the application?