Chapter 2. Creating and Using Forms

In this chapter, we’ll continue our tour of InfoPath features with an introduction to application logic (yes, coding!), simple workflow, and data connections. We’ll begin by using the "Hello World" program to illustrate how InfoPath integrates with Microsoft Visual Studio .NET 2003 and Microsoft Visual Basic .NET. Then we’ll explore InfoPath programming further by introducing you to InfoPath event handlers. Event handlers are the key entry points to your form’s application logic. We’ll create a form and add code to the OnLoad event handler that populates a field in your form with the logged-in user. You’ll see how to do this in both Visual Basic .NET and VBScript.

We’ll take a look at enterprise scenarios by ...

Get Developing Solutions with Microsoft® InfoPath™ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.