如何在Windows应用程序窗体中添加Windows服务 [英] How to get add windows Service in the Windows Application Forms

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

问题描述



我将创建Windows应用程序以获取文件源以及Windows服务的指定和计时器。最后,我将在MS Access中保存该细节。



在Windows服务中获取详细信息并移动指定计时器中的文件。



这里我想安装Windows应用程序和Windows服务。



有人帮我这么做吗?

解决方案

我希望这会对你有所帮助。 />








在MS Access中创建表以保存



filesource(varchar)|指定(varchar)|定时器(时间)|完成(位)

-------------------------------------- ---------------------------------

C:\ABCD.txt | xxxx |上午10:50 |是

C:\ 1234.txt | yyyy |上午10:50 |否





Windows窗体查看器将数据保存到表格中



Windows服务每5分钟运行一次。



您的Windows服务将从表中读取内容



...

..



执行工作。

。 。

...







...... .......

Hi,
I will create the windows App to get the file source and Designation and Timer for Windows Service. Finally i will save that details in MS Access.

In windows Service is fetch the details and move the files in specified Timer.

Here i want to install the windows application along with the Windows Service.

Any one help me to do this?

解决方案

I hope this will help you.




Create Table in MS Access to save

filesource(varchar) | Designation(varchar) | Timer(time) | Finished(bit)
-----------------------------------------------------------------------
C:\ABCD.txt | xxxx | 10:50 AM | YES
C:\1234.txt | yyyy | 10:50 AM | NO


Windows form viewer save data into table

Windows service run every 5 min.

Your Windows service will read content from table

...
..

perform job.
..
...



.............


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

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