VB.NET代码的调度程序 [英] Scheduler for VB.NET Code

查看:77
本文介绍了VB.NET代码的调度程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我是VB.Net的新手,我想实现一个代码,该代码可以在特定时间运行我的exe(Notepad.exe)文件每日在我的系统上。我不想使用Windows的任务计划程序。

我正在使用VB.Net 2008.



请帮助。

Hi

I am new to VB.Net and I want to implemet a code which scedules to run my exe (Notepad.exe) file at a paricular time Daily on my system. I do not want to use Task Scheduler of Windows.
I am using VB.Net 2008.

Please Help.

推荐答案

您需要创建Windows服务。 http://msdn.microsoft.com/en上有一个演练。 -us / library / zt39148a%28v = vs.110%29.aspx [ ^ ]
You'll want to create a Windows Service. There is a walkthrough at http://msdn.microsoft.com/en-us/library/zt39148a%28v=vs.110%29.aspx[^]


您可以使用已经可用并与Windows捆绑在一起的Windows服务,称为Windows任务计划程序:

http://en.wikipedia.org/wiki/Windows_Task_Scheduler [< a href =http://en.wikipedia.org/wiki/Windows_Task_Schedulertarget =_ blanktitle =New Window> ^ ],

http://msdn.microsoft.com/en-us/library/aa383614.aspx [ ^ ]。



如何使用它?你可以在不同的层面上做到这一点。请参阅我之前的回答:问题窗口服务 [ ^ ]。



-SA
You can use the Windows Service which is already available and bundled with Windows, called Windows Task Scheduler:
http://en.wikipedia.org/wiki/Windows_Task_Scheduler[^],
http://msdn.microsoft.com/en-us/library/aa383614.aspx[^].

How to use it? You can do it in different levels. Please see my past answer: Problem a Window Services[^].

—SA


这篇关于VB.NET代码的调度程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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