【发布时间】:2014-06-08 15:16:24
【问题描述】:
我有一个关于在我的 Windows Phone 8 C# 应用程序中打开存储在 IsolatedStorage 中的文件的问题(在我的例子中是 file.txt 文件) 并在集成在 WP 8 中的 Office 套件中打开它。
我想出了这个:
Windows.System.Launcher.LaunchUriAsync(new System.Uri("ms-word:" + (new Uri("file.txt", UriKind.Relative))));
它可以毫无问题地打开 Office Word,但它挂在“文件不存在”消息并退出.. 有什么建议吗?谢谢:)
【问题讨论】:
-
我的猜测并不那么疯狂,你不能用 word 打开非办公文件。
标签: c# windows-phone-8 isolatedstorage isolatedstoragefile