English 中文(简体)
• 如何在Windows 8 WInJS应用中从IE10发射URL?
原标题:How to launch a URL in IE10 from within a Windows 8 WInJS application?
  • 时间:2012-05-15 12:10:13
  •  标签:
  • winjs

这可能是一个令人难以置信的问题,但我未能找到答案。 我想从我的Windows 8 javascript 申请中,即我的申请将暂停,IE10将启动。 我如何用 j子这样做?

Thanks Themos

最佳回答
var url = new Windows.Foundation.Uri("http://www.google.com")
Windows.System.Launcher.launchUriAsync(url);
问题回答

暂无回答




相关问题
• 如何在Windows 8 WInJS应用中从IE10发射URL?

这可能是一个令人难以置信的问题,但我未能找到答案。 我想从我的Windows 8 javascript 申请中,即我的申请是......,在我的Windows 8 javascript申请中,用IE10发射一个特定的URL。

Why "fail" in promise does not catch errors?

I m trying to access a file, that might not exist: var localFolder = Windows.Storage.ApplicationData.current.localFolder; localFolder.getFileAsync(stateFile).then(function (file) { ...

YUI on Windows 8 Metro App: YUI is not recognized

I am trying to create a Hello World JS Metro app on Visual Studio 2011, using YUI3. I´ve grabbed a local copy of YUI, added to a subfolder in the solution, and added a reference to yui-min.js on my ...

WinJs in the browser?

After playing a bit with the new Visual Studio 11 preview, I think the most interesting question is how can I make my new javascript based app run also in the browser with minimal changes? is that ...

热门标签