Newbie question - Service and NotifyIcon

From: Jim (not_at_this.address)
Date: 09/29/04


Date: Wed, 29 Sep 2004 11:36:53 GMT

I am a VB.Net newbie who has written a little test Windows Service which
puts a NotifyIcon in the system tray. I am finding that it works fine if I
start the Service manually whilst logged in on the server (icon appears). If
I allow the service to start automatically at boot time, the service starts
OK but I don't get the icon in the system tray when I log in. If I stop the
service and restart it whilst logged in, the icon appears.

Is this intended behaviour? Do I have to add some code to my Service to look
for newly-logged-in desktops to add the NotifyIcon to?

Any hints appreciated...

Regards

--Jim.



Relevant Pages

  • Re: How do I manually create an icon in the system tray?
    ... That would preclude the service itself from using the system tray for a ... notify icon. ... the System Tray which allows the developer to test Start / Stop, ... instantiating a NotifyIcon instance. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How do I manually create an icon in the system tray?
    ... When the form is loaded - bingo - the icon appears in the System Tray. ... I do note that the "drop a NotifyIcon onto a Form" is just a shortcut for instantiating a NotifyIcon instance. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Running an windows app in memory
    ... a nifty example of using a NotifyIcon in the ... Must also occur before encountering any code that creates a WinForms object, ... I find the setting of the ShowBalloonTip of the icon parameter makes no ... or having the icon persist in the system tray after you ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [SLE] SuSE 9.0 Eval - Changing resolution and refresh?
    ... >Kmenu, Utilities, Desktop, Screen Resize and Rotate. ... Puts a little icon in ... when I selected this option initially, I didn't realize it placed the icon in my system tray. ...
    (SuSE)
  • Re: Detect Restart from Hybernate or Stand By
    ... My laptop has a mouse touchpad controller applet that puts an icon ... the icon back in the system tray on restart. ...
    (microsoft.public.win2000.cmdprompt.admin)

Loading