Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You cannot run 32-bit ActiveX controls in the 64-bit version of InfoPath, or 64-bit ActiveX controls in the 32-bit version of InfoPath


View products that this article applies to.

Symptoms

You develop an InfoPath form template that includes an ActiveX control. You observe either of the following symptoms:

  • All people who use InfoPath 2007 see the ActiveX control, however, only some of the people who use InfoPath 2010 see the ActiveX control. Instead, there is a red X where the control should display.
  • None of the people who use InfoPath 2007 see the ActiveX control, and only some of the people who use InfoPath 2010 see the ActiveX control. Instead, there is a red X where the control should display.

↑ Back to the top


Cause

You cannot install or run a 32-bit ActiveX control in 64-bit InfoPath. The display engine used by 64-bit InfoPath is not capable of running or hosting a 32-bit ActiveX control. You will see the same issue if you try to run the control in 64-bit Internet Explorer.

Similarly, you cannot install or run a 64-bit ActiveX control in 32-bit InfoPath.

↑ Back to the top


Resolution

To resolve this problem, make a copy of the ActiveX control project and redesign it to target the other architecture. For example, if you have a 32-bit ActiveX control, redesign a copy of it for 64-bit environments. Then integrate the new control in one of the following ways:

  • If everyone who uses the form runs 64-bit InfoPath, modify the InfoPath form template and replace the 32-bit ActiveX control with the 64-bit ActiveX control. Publish the new form.
  • If some people who use the form run 32-bit InfoPath and some run 64-bit InfoPath, you need two form templates. One form template will include the 32-bit ActiveX control and should be used by those filling out the form with a 32-bit release of InfoPath. The other form template will include the 64-bit ActiveX control and should be used by those filling out the form with a 64-bit release of InfoPath. To provide this, make a copy of the InfoPath form template. In this copy, replace the original ActiveX control with the redesigned ActiveX control. Publish the new form template, and modify any links, as needed.

Note: You must maintain both versions of the form template in a mixed-version environment.

↑ Back to the top


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top


Keywords: KB2026180

↑ Back to the top

Article Info
Article ID : 2026180
Revision : 3
Created on : 1/26/2011
Published on : 1/26/2011
Exists online : False
Views : 468