从表单应用程序运行Windows服务 [英] Run windows service from form application
问题描述
大家好,我遇到了问题,希望有人可以提供帮助.
Hi everyone i have a problem hope someone can help.
我们公司中有一个系统,可以将关税报告给第三方,关税存储在数据库中,可以毫无问题地从应用程序中读取,我需要的是Windows服务(或其他服务)与此无关 系统,因为将来的想法将在另一个系统中使用),该系统使用Web服务(由第三方提供)来报告在系统中选择的费率.
We have a system in the company where we have tariffs to be reported to a third parties, the tariffs are stored in database and can be readed from the application with no problem, what i need is a windows service (or something else independent from this system because the idea for the future is to be used in another system) that consumes a webservices (provided by third parties) to report the tariffs selected in the system.
感谢萨尔瓦多的任何帮助
Appreciate any help, greetings from el salvador
推荐答案
您好,Daniel Montiagudo,
事先对不起,如果我误解了你的需求.
Hi Daniel Montiagudo,
In advance, sorry, if I misunderstand your wants.
我想您想要做的是创建一个应用程序来创建Windows服务.
如果正确,请参考: 演练:在组件设计器中创建Windows Service应用程序
https://msdn.microsoft.com/zh-我们/图书馆/zt39148a(v=vs.110).aspx
#我不知道第三方提供的Web服务来报告这些关税.
I guess what you want is to make an application to create a Windows service.
If this is correct, please refer to: Walkthrough: Creating a Windows Service Application in the Component Designer
https://msdn.microsoft.com/en-us/library/zt39148a(v=vs.110).aspx
# I don't know a web service provided by third party to report the tariffs.
______________
Ashidacchi
这篇关于从表单应用程序运行Windows服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!