我如何编程系统启动事件 [英] How can i programme system startup event

查看:67
本文介绍了我如何编程系统启动事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的会员,

我想创建一个服务.

在此服务中,我要处理首次系统启动事件,并在计算机启动时发送SMS.

谢谢.

Dear Members,

I want to create a service.

In this service I want to handle first time system start up event and also to send a SMS on the start up of machine.

Thanks.

推荐答案

如果您正在使用VB.NET,则此站点似乎非常有趣(带有代码示例):
http://oreilly.com/pub/a/oreilly/windows/ron/startup_0401.html [ ^ ]

欢呼!
If you''re using VB.NET this site seems to be quite interesting (with code samples):
http://oreilly.com/pub/a/oreilly/windows/ron/startup_0401.html[^]

Cheers!


您确定要在系统启动时发送短信,还是在用户登录时发送短信,或者两者都发送?我会为此使用Windows服务. Windows服务可以在系统启动时发送短信,也可以在用户登录(和/或注销)时发送短信.
Are you sure you want the sms sent when the system starts, or would you rather send it when a user logs in, or both? I would use a Windows service for that. A windows service can send an sms when the system is started, and can also send one when a user logs in (and/or logs out).


这篇关于我如何编程系统启动事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆