如何创建用于通知的Windows服务 [英] how to create windows service for notification
本文介绍了如何创建用于通知的Windows服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想为通知窗口创建一个Windows服务。当启动计算机时看到通知窗口。然后连接到net然后更新本地数据库的数据。怎么做我是这个概念的新手,请给我一个建议。
谢谢,
MR。
解决方案
< blockquote>由于会话0隔离,Windows服务不得与用户的桌面交互。但您可以使用在用户登录时自动启动的Windows应用程序(在菜单的启动文件夹中添加指向该应用程序的链接)。然后它可能会消失到系统托盘(为此需要一个NotifyIcon)。
i want to create a windows service for notification windows .when start computer see notification window.and connect to net then update data for local database. how to do i am new in this concept ,plz give me suggestion.
thanks,
MR.
解决方案
Due to Session 0 Isolation, a Windows Service must not interact with the user's desktop. But you might use a Windows application which is automatically started when the user logs in (add a link to it in the Startup folder of the menu). It may then "disappear" to the System Tray (you'll need a NotifyIcon for that purpose).
这篇关于如何创建用于通知的Windows服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文