Shell .Net4.5 地铁设计应用
我想在 Metro Design 应用程序中运行另一个 .exe 文件。 .Net 4.5 中有 shell,但我知道它仅适用于 WPF 应用程序,不适用于 Metro Design 应用程序。如何在我的地铁设计应用程序中运行另一个流程?
I want to run another .exe file in my Metro Design Application. There is shell
in .Net 4.5 but I understand that it works only in WPF applications and not in Metro Design apps. How can I run another process in my metro design application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“Metro 风格应用程序是针对与传统 .NET Framework 略有不同的 .NET Framework 版本构建的”
对话主题关于将 .net 移植到 Metro 应用程序。
另请检查 .NET 的 Metro 风格应用程序概述
关于您的其他问题,metro 中没有像 SellExecute 或 createprocess 这样的 API,因此您无法按原样启动其他程序。
但是,您可以使用协议处理程序。 Metro 应用程序可以注册协议处理程序,或使用现有的处理程序。想想 http:// 或 mail:// 启动为该处理程序注册的默认应用程序。如果自定义处理程序尚未注册,您可以使用它们...
"Metro style apps build against a version of the .NET Framework that is a little different to the traditional .NET Framework" at this
Thread that talks about porting .net to Metro apps.
Also check .NET for Metro style apps overview
Regarding your other question there is no API in metro like SellExecute or createprocess so you cannot launch other programs as is.
You can however use protocol Handlers. A metro app can register a protocol handler, or use existing handlers. Think of http:// or mail:// that launches the default app registered for that handler. You can use custom handler if they are not yet registered ...