从Windows服务启动Windows应用程序 [英] Starting a windows application from a windows service

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

问题描述

我正在尝试使用以下代码从Windows Service启动Windows应用程序

I am trying to start a windows application from a windows Service using the below code

Process.Start(@"filename.exe");

在Windows 7中,我收到一个弹出窗口,其中显示在此计算机上运行的程序正在尝试显示消息"

In windows 7 I receive a popup that says, "A program running on this computer is trying to display a message"

推荐答案

查看以下链接:

http://www.codeproject.com/KB/vista-security/SubvertingVistaUAC.aspx

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

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