aspose file tools*
The moose likes General Computing and the fly likes How to display SystemTrayIcon in windows services mode of Windows 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "How to display SystemTrayIcon in windows services mode of Windows 7" Watch "How to display SystemTrayIcon in windows services mode of Windows 7" New topic
Author

How to display SystemTrayIcon in windows services mode of Windows 7

sharab rao
Greenhorn

Joined: Jan 09, 2013
Posts: 10
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

Joined: Aug 05, 2005
Posts: 3689
    
  16
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.


Joanne
sharab rao
Greenhorn

Joined: Jan 09, 2013
Posts: 10
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

Joined: Aug 05, 2005
Posts: 3689
    
  16
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display SystemTrayIcon in windows services mode of Windows 7