Article ID: 811532 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
The Visual Studios .NET ActiveX Control Importer, Aximp.exe, converts type definitions in a COM type library for an ActiveX control to a Windows Forms control.
Windows Forms can only host Windows Forms controls such as classes that are derived from System.Windows.Forms.Control. Aximp.exe generates a wrapper class for an ActiveX control that can be hosted on a Windows Form. This permits you to use the same design-time support and programming methodology that you use for other Windows Forms controls.
To host the ActiveX control, you must generate a wrapper control that derives from System.Windows.Forms.AxHost. This wrapper control contains an instance of the underlying ActiveX control. It can communicate with the ActiveX control, but it appears as a Windows Forms control. This generated control hosts the ActiveX control and exposes its properties, methods, and events as those of the generated control.
When a method of this type of ActiveX control has optional parameters, and you call to that method without specifying those optional parameters, the expected behavior is to pass the default value. However, a value of 0 is passed instead.
To resolve this problem, a code change was made that implements the following behavior:
To resolve this problem immediately, download the fix by clicking the download link later in this article or contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMSNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
Article ID: 811532 - Last Review: February 27, 2014 - Revision: 1.5