Internet Explorer as a control?

Hi;

Is there a better way than Interop.ShDocVw.dll to have a web browser as a client control If so, any pointers to what to use

thanks - dave


Answer this question

Internet Explorer as a control?

  • danoliv

    I believe you're not thoroughly understanding the nature of the question at hand.  The control ShDocVw is a native assembly, and to utilize it as a control, you'll need to utilize the interop.  I'm sure you can create a new control from scratch that will handle the web requests and render properly in managed code, but very few would want to venture that route.

    http://www.windowsforms.net/Default.aspx tabindex=4&tabid=49

    the link above has a few controls that extend the ShDocVw.dll and even more.  Take a peek through them, and hopefully one that matches your needs shows up.

  • Michael Cochran

    Yes - The WebBrowser Windows Forms control is a new in Visual Studio 2005.

    -mark
    Program Manager
    Microsoft
    This post is provided "as-is"

  • parblaster

    I mis-spoke before. This is a WONDERFUL addition. WHat took me hours to set up before is now maybe a minute - and it's clean managed code with not internal exceptions.

    Please tell whoever implemented this thank you very very much.

    - dave

  • Art Vandolay Jr.

    Hi;

    Ok, I'm not understanding womething. I followed your link and it had a sample that uses a new control WebBrowser. Isn't the a browser as a control available as a .net control

    I think this is exactly what I was looking for.

    thanks - dave

  • tun

    thanks - that is a very nice addition to .net

  • Internet Explorer as a control?