Developing Form Templates Using the InfoPath 2003 Object Model
Last modified: June 28, 2011
Applies to: InfoPath 2013 | InfoPath Forms Services | Office 2013 | SharePoint Server 2013
Microsoft InfoPath continues to support form template projects created with Microsoft Office InfoPath 2003 Toolkit for Visual Studio .NET or Visual Studio 2005 Tools for the Microsoft Office System that have business logic written against members of the Microsoft.Office.Interop.InfoPath.SemiTrust namespace. The topics in this section refer to the types and members of this namespace as the InfoPath 2003-compatible object model or simply the InfoPath 2003 object model. InfoPath also supports form template projects created with Microsoft Office InfoPath 2007 that use the InfoPath 2003-compatible object model. In addition, you can use InfoPath to create new form template projects that use InfoPath 2003-compatible object model to retain backward compatibility for users of Office InfoPath 2007. All topics in this section are specific to creating and developing form templates that work with the InfoPath 2003-compatible object model provided by the Microsoft.Office.Interop.InfoPath.SemiTrust namespace.
Although creating business logic with the managed-code object model provided by the Microsoft.Office.Interop.InfoPath.SemiTrust namespace is still supported by InfoPath, business logic written using this object model it is not supported for browser-enabled form templates deployed to Microsoft SharePoint Server 2010 with InfoPath Forms Services. Browser-enabled form templates must use the new InfoPath managed code object model provided by members of the Microsoft.Office.InfoPath namespace for custom business logic. For more information about creating form templates with business logic written with members of the Microsoft.Office.InfoPath namespace, see Developing InfoPath Form Templates with Code.
Also, note that users of form templates compiled with Visual Studio 2012 must have Microsoft .NET Framework 2.0 or later installed on their computers. Users of form templates compiled with Visual Studio .NET 2003 are only required to have Microsoft .NET Framework 1.1 on their computers.