Share via


Developing Managed Code Form Templates Using the InfoPath 2003 Object Model

Microsoft Office InfoPath 2007 continues to support form template projects created with Microsoft Office InfoPath 2003 Toolkit for Visual Studio .NET or with Visual Studio 2005 Tools for the Microsoft Office System that have business logic written against members of the Microsoft.Office.Interop.InfoPath.SemiTrust namespace. Additionally, you can create a new form template project with managed code business logic that works against this InfoPath 2003-compatible object model to retain backward compatibility for users of InfoPath 2003. The 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.

Important

Although creating business logic with the managed-code object model provided by the Microsoft.Office.Interop.InfoPath.SemiTrust namespace is still supported by Office InfoPath 2007, business logic written using this object model it is not supported for browser-enabled form templates deployed to Microsoft Office Forms Server 2007 or Microsoft Office SharePoint Server 2007 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 on creating form templates with business logic written with members of the Microsoft.Office.InfoPath namespace, see Developing InfoPath Managed Code Form Templates.

Also note that users of form templates compiled with Microsoft Visual Studio Tools for Applications (VSTA), Visual Studio 2005 with Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System, or Visual Studio 2008 with Visual Studio Tools for Office must have Microsoft .NET Framework 2.0 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.

In This Section

  • InfoPath Developer Portal
    Contains links to technical articles, code samples, downloads, support, and other MSDN documentation on building custom InfoPath solutions.
  • Microsoft Office Developer Center
    Contains links to technical articles, code samples, downloads, support, and other MSDN documentation on building custom Office solutions.