Where is the FormControl Component?

I am still in the process of upgrading 2007 Microsoft Office release Beta 2 projects to RTM. Earlier this week I wrote about how WindowsBase.dll, the assembly that uses the System.IO.Packaging namespace, had been moved. Today, I learned something new when upgrading a Windows Forms application that integrates the Office InfoPath 2007 form editing environment.

The FormControl .NET component, which hosts InfoPath functionality, used to appear as an option in the Choose Toolbox Items dialog box in Beta 2 and Beta 2 TR. Mike Talley’s article, Hosting the InfoPath 2007 Form Editing Environment in a Custom Windows Form Application, actually shows a screen shot of the dialog box with the selected FormControl component. In RTM, the option is not available. So, in order to use the component, you must click Browse and add the correct DLL. The assembly name is Microsoft.Office.InfoPath.FormControl.dll, which is located in c:Program FilesMicrosoft OfficeOffice12.

Many thanks go to Mike for pointing out the correct assembly. By the way, he mentioned to me that both “hosting” articles (the one referenced above and the one about the XmlFormView control) will be updated soon.

Leave a Reply

Your email address will not be published. Required fields are marked *