Author Topic: Systray Icon - Explorer chrash  (Read 2142 times)

mcvpjd3

  • Newbie
  • *
  • Posts: 42
Systray Icon - Explorer chrash
« 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

Deana

  • Wilson WindowWare Tech Support
  • Pundit
  • *****
  • Posts: 1183
  • WinBatch® can do it.
    • WinBatch Tech Support Database
Re: Systray Icon - Explorer chrash
« Reply #1 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.
Deana F.
Technical Support
Wilson WindowWare Inc.