Open IE Explore intead of Microsoft Edge browser RRS feed

  • Question

  • I need top open IE Explorer instead of Microsoft Edge from a WPF app, but when I use the line below Edge opens by default.  The web page hosts an SSRS report which is not compatible with Edge.



    Tuesday, April 3, 2018 5:04 AM

All replies

  • First add a reference; in the add reference window go to COM and browse then open SHDocVw.dll; that has parts (most) of IE in it. Then the following should be the equivalent of the code you posted.

    SHDocVw.InternetExplorer ie = new SHDocVw.InternetExplorer();
    ie.Visible = true;

    Sam Hobbs

    Tuesday, April 3, 2018 7:56 PM