通过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