System try icon ...

  • Thread starter Thread starter Jacek Jurkowski
  • Start date Start date
J

Jacek Jurkowski

I put an NotifyIcon to my ServiceProcessContainer.
In service Start metod I set the Visible property to true but
the icon isn't showing ... Why? Isn't it allowed to put
NotifyIcon directly on a ServiceProcessContainer?
 
Jacek said:
I put an NotifyIcon to my ServiceProcessContainer.
In service Start metod I set the Visible property to true but
the icon isn't showing ... Why? Isn't it allowed to put
NotifyIcon directly on a ServiceProcessContainer?
Is your service "Allowed to interact with desktop"?
BTW: What is ServiceProcessContainer?
 
Thanks!
Is your service "Allowed to interact with desktop"?

After setting that check box on service tab , the icon was shown...
But it doesn't show it's ContextMenu on RightClick...
There is one more problem. Vs.net installs service with
"Allowed to interact with desktop" disabled. I havn't seen
property to change that default value ...
BTW: What is ServiceProcessContainer?

I mean "System.ServiceProcess.ServiceBase"
 
Jacek said:
Thanks!




After setting that check box on service tab , the icon was shown...
But it doesn't show it's ContextMenu on RightClick...
There is one more problem. Vs.net installs service with
"Allowed to interact with desktop" disabled. I havn't seen
property to change that default value ...




I mean "System.ServiceProcess.ServiceBase"
You might be able to use WMI to do this. You might want to search in
www.gotdotnet.com..
 
Back
Top