Export (0) Print
Expand All

How to: Create a Form Template Using the InfoPath 2003 Object Model

Last modified: June 28, 2011

Applies to: InfoPath 2013 | InfoPath Forms Services | Office 2013 | SharePoint Server 2013

The procedures in this topic describe how to create a form template that works with the InfoPath 2003-compatible object model.

Important note Important

In addition to the procedures below, you must also click the File tab, click Save As, and then select InfoPath 2003 Form Template in the Save as type box to save the form template to the InfoPath 2003-compatible file format. Also, to open InfoPath 2003-compatible form templates created with InfoPath, all InfoPath 2003 users must have the .NET Framework 2.0 or later installed on their computers.

To create an InfoPath 2003-compatible form template in InfoPath with Visual Studio Tools for Applications

  1. Start the InfoPath Designer.

  2. Click the File tab, and then click Form Options.

  3. In the Compatibility category, select InfoPath 2003 Editor Form.

  4. In the Programming category, select either C# (InfoPath 2003 Compatible) or Visual Basic (InfoPath 2003 Compatible) from the Form template code language drop-down list.

  5. Click OK.

  6. Design your form template, and then add event handlers in Visual Studio 2012, as described in How to: Add an Event Handler Using the InfoPath 2003 Object Model.

Show:
© 2014 Microsoft