如何从metro风格的JavaScript应用程序启动Windows服务? [英] How to start a windows service from a metro style javascript app?

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

问题描述

我创建了一个Windows服务来打印图像,并在服务的onstart方法中编写了代码。



我想启动服务来自地铁风格的javascript应用程序。



我该如何做到这一点?



请帮助。

I have created a windows service to print a image and have written the code in the "onstart" method of the service.

I want to start the service from a metro style javascript application.

How can I accomplish this?

Please help.

推荐答案

不,我们不会给你解决方案..我们不能为你这样做..你应该自己尝试..如果你卡在某处,你当然可以来这里..但是不要直接问代码..
No, we won''t give you solution.. We can''t work out for you like this.. You should try it by yourself.. If you got stuck somewhere, you can certainly come here.. But don''t ask directly for code..


参考这个 -

使用Javascript启动,停止Windows服务 [ ^ ]
Refer this-
Start,Stop Windows Service using Javascript[^]


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

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