Create a Form Template Using the InfoPath 2003 Object Model

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

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 Add an Event Handler Using the InfoPath 2003 Object Model.

See also

Walkthrough: Creating and Debugging a Basic Form Template Using the InfoPath 2003 Object Model

Creating Form Templates Using the InfoPath 2003 Object Model