用Windows服务运行Windows应用程序 [英] run windows app with windows service

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

问题描述

hi
i希望用Windows服务运行Windows应用程序。

i有一个Windows服务,这个服务应该每1分钟运行一次Windows应用程序。

怎么做它?

任何解决方案都可以解决这个问题,

谢谢。

解决方案

在你的windows服务中设置一个定时器循环,勾选1分钟并在tick事件中使用shellexecute启动你的windows apps .exe文件。


请帮助我。我无法解决这个问题

hi i want run windows application with windows service.
i have a windows service,this service should run windows application every 1 minute.
How to do it?
any solution can solve this problem,
thanks.

解决方案

In your windows service set a timer loop with a tick of 1 minute and in the tick event use shellexecute to launch your windows apps .exe file.


please help me.i can''t solve this problem


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

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