通过LaunchFileAsync在metro风格应用程序中启动表单应用程序 [英] Launching a form application in metro style app through LaunchFileAsync

查看:112
本文介绍了通过LaunchFileAsync在metro风格应用程序中启动表单应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题很简单......



我有一个简单的表格应用程序(在VS 2010中开发,.Net 4.0),位于我的地铁风格应用程序的安装目录(或者我可以将它放在metro应用程序想要运行的地方)。



我只想运行该表单应用程序。我已经尝试过Launcher类中的LaunchFileAsync方法,但它可以与其他类型的文件(如文本文件)一起使用,但是当我尝试运行可执行文件时它会失败..



请帮助,紧急....提前感谢...

My question is as simple as it seems..

I have a simple form application (developed in VS 2010, .Net 4.0) located in my metro style app''s installation directory (OR i can put it where metro app wants to run it).

I just want to run that form application. I have already tried LaunchFileAsync method from Launcher class, but it works fine with other type of files such as text files, but it fails when i try to run an executable file..

Help please, its urgent.... Thanks in advance...

推荐答案

出于安全原因,阻止从Windows应用商店应用启动可执行文件。



您不想从商店下载应用程序,只需启动它想要的任何流程。 :)



可能有解决方法,但这样做的应用程序永远不会超过认证过程。



Frank
Launching an executable from a Windows Store app is blocked for security reasons.

You wouldn''t want to download an app from the Store and just have it kick off any process it wanted to. :)

There might be workarounds, but an app that does that would never make it past the Certification process.

Frank


这篇关于通过LaunchFileAsync在metro风格应用程序中启动表单应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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