This topic has not yet been rated - Rate this topic

WebBrowser Class (2007 System)

Represents a Windows Forms WebBrowser that can be added to a Microsoft Office Excel worksheet.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class WebBrowser : WebBrowser, ISupportInitializeExtendedControl

The Microsoft.Office.Tools.Excel.Controls.WebBrowser is different from a System.Windows.Forms.WebBrowser. The Microsoft.Office.Tools.Excel.Controls.WebBrowser has additional members that enable it to be added to an Excel worksheet and that give it additional methods and properties.

Do not use the New constructor to create a new WebBrowser. Use the AddWebBrowser method to add a new WebBrowser to a worksheet.

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.WebBrowserBase
          System.Windows.Forms.WebBrowser
            Microsoft.Office.Tools.Excel.Controls.WebBrowser
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.