如何创建Windows应用程序exe

编程入门 行业动态 更新时间:2024-10-23 05:40:09
本文介绍了如何创建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.

您可以使用以下参考创建计划任务,并安排它在特定时间间隔运行 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

本文发布于:2023-11-02 17:38:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1552997.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   Windows   exe

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!