ActiveX control containers that support .NET controls (311334)



The information in this article applies to:

  • Microsoft .NET Framework 1.0
  • Microsoft .NET Framework 1.1

This article was previously published under Q311334

SUMMARY

With the exception of Microsoft Internet Explorer, .NET controls are not supported in applications designed to host ActiveX controls.

MORE INFORMATION

Microsoft .NET 1.0 Windows Forms controls are supported in Windows Forms and Internet Explorer 5.01 and later versions. .NET 1.1 Windows Forms controls are supported in Windows Forms, Microsoft Foundation Classes (MFC) 7.x, and Internet Explorer 5.01 and later versions. Other applications and development tools that are capable of hosting ActiveX controls, including the ActiveX Test Containers from versions of Visual Studio that are earlier than Visual Studio .NET 2003, are not supported hosts for .NET Windows Forms controls.

The supportability information in this article also applies to the use of .NET controls through COM Interop. The use of a .NET control through a COM Callable Wrapper (CCW) is supported only in Internet Explorer. For more information on this please see article 317346 listed below.

REFERENCES

For additional information about when to use a CCW for .NET control hosting in Internet Explorer, click the following article number to view the article in the Microsoft Knowledge Base:

317346 Native versus COM-Callable .NET controls in Internet Explorer

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

839076 You experience unexpected behavior when you use Windows Forms in COM client applications


Modification Type:MajorLast Reviewed:11/2/2004
Keywords:kbCOMInterop kbCtrl kbinfo KB311334