topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 9:50 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: ProcessTamer Tray Icon does not display in Vista  (Read 9487 times)

koehlerb

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
ProcessTamer Tray Icon does not display in Vista
« on: January 23, 2008, 12:12 PM »
The tray icon for ProcessTamer does not consistently display in Vista.
When I check what is running, it shows that ProcessTamerTray.exe IS running, but the tray icon is not displayed.  If i try to start ProcessTamer in this state, it is not allowed to start (because a copy is already active).
If I KILL ProcessTamer that is running in the background, it will terminate - then when I re-start it, it does display properly in the tray.

It is a WONDERFUL PRODUCT, but this is annoying...

Thanks

Bruce
Santa Cruz, CA USA Earth

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: ProcessTamer Tray does not display in Vista
« Reply #1 on: January 23, 2008, 12:13 PM »
does this problem only manifest itself when it starts at boot time when windows starts?

koehlerb

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: ProcessTamer Tray Icon does not display in Vista
« Reply #2 on: January 23, 2008, 12:31 PM »
Correct

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: ProcessTamer Tray Icon does not display in Vista
« Reply #3 on: January 23, 2008, 12:38 PM »
ok, i don't think you are the only person suffering from this -- i've never had it happen to me with process tamer, but i have had it happen with another program of mine to me.. something causes it occasionally with programs that start with windows.  i'll try to investigate and fix.

iycgtptyarvg

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: ProcessTamer Tray Icon does not display in Vista
« Reply #4 on: February 24, 2008, 05:31 AM »
I've also had this problem once with a customer. What I did to fix this was call Shell_NotifyIcon with NIM_DELETE and then NIM_ADD to force the reinstitution of the tray icon 60 seconds after my app started.

To be even more sure the tray icon shows up, do this every 3 minutes or so. This will help you with the situation where 'explorer.exe' has been killed and reloaded (after a crash).

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: ProcessTamer Tray Icon does not display in Vista
« Reply #5 on: February 24, 2008, 07:10 AM »
thanks iycgtptyarvg -- i think i may just add code to my programs to force a delete/add of the icons 60 seconds or so after startup, good idea.

i wonder if when this phenomena happens where the icon is not shown (either at startup or on explorer crash), whether it's possible to DETECT this condition.  that would be ideal -- then you wouldn't actually have to flash the icon if it wasn't needed.

while it's hard to reproduce the startup with windows rare case where icon doesn't show -- it's easy to reproduce the explorer crash situation.  any idea how one would check for this scenario and check whether your icon became missing from the tray after an explorer crash?
« Last Edit: February 24, 2008, 07:13 AM by mouser »

iycgtptyarvg

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: ProcessTamer Tray Icon does not display in Vista
« Reply #6 on: February 25, 2008, 02:34 AM »
Actually, I don't think there is a good way to do this. If you query your tray icon, you will get the answer that it is being shown (while it isn't). The tray icon won't 'flash' as you say.
No one will notice anything accept that your icon will move to the front. Once it's the first icon, it will stay there.

Regarding the crashing explorer, I think the only way to do that is to check Window's Event viewer. To be honest, I would call this overkill for such a small problem. Simply reinstituting the icon is quick, safe and easy.