O'Reilly logo

VSTO 3.0 for Office 2007 Programming by Vivek Thangaswamy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing event validation for an expense report form

Let's work on a sample form and use some of the events available in Microsoft Office InfoPath 2007. Let's start by creating a company expense report form, and implementing the events for the validation of the user interface.

We are using most of the events available in InfoPath 2007 in the expense report for some of the user interface validation.

  1. Start Microsoft Visual Studio 2008.
  2. On the File menu, click on New Project.
  3. In the New Project dialog box, expand Visual C# project types.
  4. Select New project. Under Office select 2007, and select InfoPath 2007 Form template. Name the project as per your requirements.
  5. The Design Template dialog box is displayed. This is where you choose the appropriate template ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required