远程登录时,windows服务调用exe文件 [英] windows service call exe file when remote login

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

问题描述

亲爱的,

我有启动时运行的Windows服务程序,它将调用VS2010中编写的exe程序文件,并显示Windows窗体。通常它在不同的用户登录期间工作,但不在远程控制中。远程登录时,windows
服务程序运行但不显示windows窗体的执行程序。这意味着远程登录时无法显示Windows窗体。你有类似的情况或者你知道为什么吗?是否有任何可能的解决方案??

I have the windows service program running when startup and it will call the one of exe program file written in VS2010 and will display the windows form. Normally it works during different user login, but not in remote control. When remote login, windows service program run but not executive program that display the windows form. It means the windows form cannot display when remote login. Do you have similar situation or do you know why? Is there any possible solutions??

推荐答案

我发现远程登录时会启动其他一些软件,例如teamviewer表格。我真的不知道它是如何工作的?

I find that some other software such as teamviewer form will start up when remote login. I really don't know how does it work?

让我描述一下。

标准用户"A"  登录winxp或win7。该程序的Windows服务和窗口形式显示。当我通过不同的用户"B"远程登录时,Windows服务运行但不是程序的窗口形式,其似乎在用户"A"中是活动的。 session
因为它说有一个程序在运行。

Standard user "A"  login to the winxp or win7. The windows service and window form of the program show. When I remote login by different user "B", the windows service run but not the window form of the program which seems to be active in user "A" session as it says there is one program running.


这篇关于远程登录时,windows服务调用exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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