[英]Open Web link programmatically in IE - non-Metro mode
有没有办法以编程方式从我的城域网应用程序中打开IE(非地铁模式)链接?
For metro applications users are in control of the applications that launch for uri and files. 对于metro应用程序,用户可以控制为uri和文件启动的应用程序。
To browse to a webpage (JavaScript but the C# is similar): 浏览网页(JavaScript但C#类似):
var uri = new Windows.Foundation.Uri("http://www.microsoft.com");
Windows.System.Launcher.launchUriAsync(uri).then(function () { });
To launch other apps you should look at the Windows.System.Launcher class. 要启动其他应用程序,您应该查看Windows.System.Launcher类。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.