• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to display SystemTrayIcon in windows services mode of Windows 7

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic