locked
How to use iframe to show local file in javascript metro app

    Question

  • Hello,

    In my windows 8 metro application using WINJs, I want to show the reports which is either pdf or excel stored on local disk drive.

    I want to use iframe to show reports. but iframe is not working.

    Does anybody have idea, how to use iframe to show local files in WINJs??

    I do not want use app launcher as it leaves the app in the  background.

    Thanks in Advance.

    Thursday, November 22, 2012 1:48 PM

Answers

  • Hi,

    You can't do that. Windows 8 has two versions of Internet Explorer 10: a conventional browser that lives on the legacy desktop, and a new Windows 8-style, touch-friendly browser that lives in the Windows 8 world. Windows 8-style IE runs plug-in free to improve battery life as well as security, reliability, and privacy for consumers. So you can’t use flash, or other 3<sup>rd</sup> party plugins/activex controls  in windows store app.


    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com
    Microsoft One Code Framework

    • Marked as answer by Song Tian Wednesday, November 28, 2012 9:54 AM
    Friday, November 23, 2012 9:54 AM