• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to display SystemTrayIcon in windows services mode of Windows 7

 
sharab rao
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Folks,

I have added code for enable SystemTrayIcon for windows 7. it is working fine with netbean application mode, while i am executing the appliaction in windows services mode it is not working.

Please find below code for your reference.



Please let me know if any code wants to be added for triggering in windows service mode.
Thanks for your support in advance.


Regards,
Ram
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would guess that their is no desktop in service mode (services can run even if the user is logged out) and so there is no system tray to add the icon to.
 
sharab rao
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Joanne Neal,
I am using InstallAnyWhere software to wrap my application in exe formate.
Once exe created, Executing that exe file in windows services mode.
there it should trigger.

it is working fine in netbean appliaction. once application is created as exe and executing that it is not triggering.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sharab rao wrote:Executing that exe file in windows services mode.
there it should trigger.

No it won't, as I explained in my first post.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic