Share via


.NET Samples - Windows Forms: ActiveX Hosting

This section includes the following sample:

Browser Sample

Browser Sample

This sample shows how Windows Forms applications can interact with native Win32 COM components. This sample imports the Internet Explorer browser library and hosts a browser control within a Windows Forms Application.

Namespaces used in this sample:

System; System.Windows.Forms; System.Drawing; System.ComponentModel

Classes used in this sample:

Form; Menu; File; MenuItem; Component; EventHandler; Style; EventArgs; Object; Control; Cursor; Container; AxHost; Button; MainMenu; Panel; TextBox; Label; String; StatusBar; Console; Header; Cursors; Application; SystemColors; Thread