none
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.

    System.Diagnostics.Process.Start(myURL);

    Thanks.

    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;
    ie.Navigate(myURL);
    



    Sam Hobbs
    SimpleSamples.Info

    Tuesday, April 3, 2018 7:56 PM