Windows服务进入Windows应用程序 [英] windows services into windows application
本文介绍了Windows服务进入Windows应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将Windows服务调用到Windows应用程序中.我已经准备好为Windows服务编写代码.如何调用Windows应用程序
解决方案
^ ]
如何:创建C#Windows窗体应用程序 [ ^ ]
System.Diagnostics.Process.Start(" );
要从您的.net应用程序运行另一个应用程序,请使用
System.Diagnostics.Process [ Process.Start(" )
简单的Windows服务示例 [ ^ ]
带有.NET的WindowsService [ 解决方案
How to: Create a C# Console Application[^]
How to: Create a C# Windows Forms Application[^]
System.Diagnostics.Process.Start("notepad.exe");
To run another application from your .net application, use the
System.Diagnostics.Process[^]class. It is not necessary to create an instance
of the Process class to use it.Just provide the path of executable to run like
Process.Start("C:\\MyAppFolder\\MyApp.exe")
Simple Windows Service Sample[^]
WindowsService with .NET[^]
refer these links
这篇关于Windows服务进入Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文