Windows 8 在windows 8 metro应用程序中打开word文档

Windows 8 在windows 8 metro应用程序中打开word文档,windows-8,microsoft-metro,Windows 8,Microsoft Metro,现在我在Windows8 Metro应用程序中打开一个word文档。我不知道这是否可能。但是我在Windows8 Metro应用程序中打开了word文档。使用iPad打开gmail中的word文档 这是我的密码 string file = @"Assets\sample.docx"; var getFile = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync(file);

现在我在Windows8 Metro应用程序中打开一个word文档。我不知道这是否可能。但是我在Windows8 Metro应用程序中打开了word文档。使用iPad打开gmail中的word文档

这是我的密码

string file = @"Assets\sample.docx";

var getFile = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync(file);
        if (getFile != null)
        {
             var success = await Windows.System.Launcher.LaunchFileAsync(getFile);
        }
这是为word文件打开的。但我在Windows8 metro应用程序中打开了


提前感谢。

您应该能够使用Windows 8 Metro/Windows应用商店应用程序打开Word文件。由于.docx或.doc文件已与Word程序关联,因此它应将Word作为单独的进程启动,并从应用程序中打开Word中的文件


但是,它不会在你的应用程序中运行Word。这是不可能的

除了启动器之外,在Windows8 metro应用程序中打开word文档有什么最好的方法吗