在 Windows 8 Metro 应用程序中启动进程 [英] start process in windows 8 metro application

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

问题描述

如何在 Windows 8 Metro 应用程序中通过代码启动像 rasphone.exe 这样的进程?有 System.Diagnostics.Process 但 Metro 应用程序中的 System.Diagnostics 不包含进程

how can i start a process like rasphone.exe by code in windows 8 metro application? there is System.Diagnostics.Process but the System.Diagnostics in metro application doesn't contain process

推荐答案

所有 Metro 风格的应用程序都在高度沙盒的环境中工作,无法直接启动外部应用程序.

All the Metro-style applications work in the highly sandboxed environment and there is no way to directly start an external application.

您可以尝试使用 Launcher 类 –取决于您的需要,它可能会为您提供可行的解决方案.

You can try to use Launcher class – depends on your need it may provide you a feasible solution.

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

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