Skip to Content
.NET Windows® Forms Custom Controls
book

.NET Windows® Forms Custom Controls

by Richard Weeks
January 2002
Intermediate to advanced
288 pages
5h 48m
English
Sams
Content preview from .NET Windows® Forms Custom Controls

Hosting Controls in Internet Explorer

Internet Explorer (IE) supports the OBJECT tag for hosting classic ActiveX controls. In .NET, the OBJECT tag can be used to also host Windows Forms controls and provide accesses to the properties of the hosted control. For those of you familiar with hosting ActiveX controls, the syntax for the OBJECT tag will seem very familiar. The only difference is the CLASSID attribute used to identify the control to be created. The general form of the OBJECT tag is as follows:

<OBJECT ID="<var-name>" CLASSID="http:<assembly>#<qualified-name>" height="<height>"
 width="<width>"> <PARAM NAME="<property-name>" VALUE="<property-value>"> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types

Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types

Roger Villela
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 0672323338Purchase book