v-schang
Wed Jan 26 01:44:10 CST 2005
Hi Siliverz,
As for your service application, have you correctly displayed a normal form
to interact with the logon user? Based on experience, displaying UI in
NTSErvice will cause problem on multi-user server, it only display in the
default desktop even if we turn on the "allow service to interact with
desktop".
If you can display the form correctly, then have you tried just displaying
a notifyIcon at the taskbar to see whether it works?
In addition, there're some former threads discussing on the similiar
problem on displaying UI in NT Service. And someone also suggest that we
separate the service work from the UI. For example, create two separate
application , one is desktop winform app and another NtService app , the
desktop can communicate with the service via remoting or other outbound
means and winform app can also display well at each user's desktop.
http://groups.google.co.jp/groups?hl=zh-CN&lr=&frame=right&th=f56e0a2f3e0a56
c4&seekm=uxOD8B8ODHA.2316%40TK2MSFTNGP11.phx.gbl#link8
Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)