如何创建Windows应用程序exe [英] How to create windows application exe

查看:66
本文介绍了如何创建Windows应用程序exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我们可以自动创建每15分钟运行一次的windows应用程序exe。



我尝试过:



我没有为此尝试过任何事情

hello can we create the windows application exe which is run after every 15 min automatically .

What I have tried:

I have not tried anything for this

推荐答案

没有。一旦应用程序退出,它已经死了,无法让自己在以后运行。



但是,您可以在Windows中每15分钟运行一次应用程序任务计划程序:任务计划程序(Windows) [ ^ ] - 只需编写您的应用程序,并在需要时安排它运行。
No. Once an application exits, it is dead and can't make itself run a later time.

However, you can make any app run every 15 minutes in windows using the task scheduler: Task Scheduler (Windows)[^] - just write your app, and schedule it to run when you need it to.


您可以使用以下参考创建计划任务,并安排它在特定时间间隔运行< br $> b $ b

c# - 创建计划任务 - 堆栈溢出 [ ^ ]
You can create scheduled task with below reference and schedule it to run on specific time interval

c# - Creating Scheduled Tasks - Stack Overflow[^]

任务计划程序可以解决问题。

我不确定b如果您希望您的应用程序在后端运行,那么您应该发现Windows服务而不是

检查演练:在组件设计器中创建Windows服务应用程序 [ ^ ]
task scheduler would do the trick.
I am not sure but if you want your application to be run in backend then you should discover windows service instead
check Walkthrough: Creating a Windows Service Application in the Component Designer[^]


这篇关于如何创建Windows应用程序exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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