C#.net

Open a website in Internet Explorer using c#.net



Here is the code in C#.net to open a website using internet explorer from a    .net application.AN instance of internet explorer is created and the website is accessed using this instance

 

Note :  Add reference to the DLL   SHDocVw  

 

using SHDocVw;

 

object o = null;

            SHDocVw.InternetExplorer ie = new SHDocVw.InternetExplorerClass();

            IWebBrowserApp wb = (IWebBrowserApp)ie;

            wb.Visible = true;

            wb.Navigate(url, ref o, ref o, ref o, ref o);

OpenBrowser(“http://www.shefeekj.com”);

Share

Thanks for reading my blog. If you like what I write, why not subscribe to my feed?

If you are busy, I can send the latest post to your email. Just subscribe to my email updates.

 

Enter your email address:

Delivered by FeedBurner

Discussion

No comments for “Open a website in Internet Explorer using c#.net”

Post a comment