WinBatch Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: mcvpjd3 on April 02, 2014, 03:26:31 am

Title: Systray Icon - Explorer chrash
Post by: mcvpjd3 on April 02, 2014, 03:26:31 am
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
Title: Re: Systray Icon - Explorer chrash
Post by: Deana on April 02, 2014, 09:25:50 am
Maybe try having the script relaunch itself then exit?

Note: AppExist can be used to determine Explorer is running.