开发者

Can Silverlight HyperlinkButton forced to open page with Internet Explorer?

开发者 https://www.devze.com 2023-01-05 01:05 出处:网络
开发者_如何学CCan Silverlight HyperlinkButton forced to open page with Internet Explorer?If someone has defaulted to one browser (let say Chrome), you cannot ask the current browser (using JavaScript)
开发者_如何学C

Can Silverlight HyperlinkButton forced to open page with Internet Explorer?


If someone has defaulted to one browser (let say Chrome), you cannot ask the current browser (using JavaScript) to open the link to a specific browser (i.e. you want Internet Explorer instead of Chrome). I am not sure about Flash or Silverlight's ability to do what you want.

I have found a technique but it is specific to VBScript inside Excel and it may need the UA agent check to make sure it works correctly for a target environment if you want to adapt the similar code in Silverlight:

http://www.mofeel.net/87-microsoft-public-excel/30085.aspx


With HyperLinkButton you can't. If your OOB app is in full trust mode you can use automation object InternetExplorer.Application to open and control IE.


If you have the right permissions in silverlight you can read and wright to disk. So yes you can.

0

精彩评论

暂无评论...
验证码 换一张
取 消