Systray Icon - Explorer chrash

Started by mcvpjd3, April 02, 2014, 03:26:31 AM

Previous topic - Next topic

mcvpjd3

Another question for you all.

I have an application that sits in the users systray. It works on a timer, with a right click menu that can exit the app or get it to do what it needs without waiting for the timer to finish. This all works good, however, a couple of the users have complained that if explorer.exe crashes (yeah - we should fix the problem and not the symptom, but would be good to fix this as well) then the icon doesn't return to the system tray, so the user can't run the app or exen exit without getting up task manager and killing it.

What I've tested is, during the timing loop I've used Intcontrol(1007,1,1.....) and Intcontrol(1007,4,2.....)  to see if it either will bring the Icon back into the SysTray, but it doesn't seem to do it. Is there anything else I can try?

Thanks

Deana

Maybe try having the script relaunch itself then exit?

Note: AppExist can be used to determine Explorer is running.
Deana F.
Technical Support
Wilson WindowWare Inc.