Windows服务的应用程序 [英] windows service for an application

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

问题描述

嗨!我正在为我的公司做库存控制应用程序,它可以在产品上添加,更新,删除,打印.现在我想创建一个Windows服务,该服务可以从我的应用程序生成产品报告,它应该附加这些报告并发送电子邮件到我在我的应用程序中存储的地址.在我的应用程序中,我正在使用Windows Report,该服务应在发送前使用该报告并将其导出到excel文件中.此电子邮件发送应在每个星期六进行. 帮助我使用Windows服务....
您的所有建议都是可取的!

Hi ! I am doing inventory control Application for my company,which can add,update,delete,print on products.Now i want to create a windows service which runs to generate a product report from my application and it should attach those reports and send email to the addresses which i stored thro my application.In my application i am using windows report,this service should use that report and export it to excel file before sending.This email sending should be done on every Saturday(say).
Help me to work with windows service....
all your advices are appreciable !

推荐答案

您好,Johnsathish,

我想提出另一个简单的解决方案.

1.在单独的应用程序中创建所有任务.
2.在批处理文件中调用此应用程序.
3.使用窗口计划任务并添加此批处理文件以计划任务执行过程.
Hi Johnsathish,

I want to suggest another simple solution.

1. Create your all task in a separate application.
2. Call this application in a batch file.
3. Use Window schedule task and add this batch file to schedule task execute process.


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

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