If you are a developer using .NET for other projects, you won't find much of a difference when working with the InfoPath form and your code. Before going into details on developing InfoPath forms in Visual Studio .NET, you need to make sure that you have two development tools: Visual Studio .NET 2003 and InfoPath 2003 Toolkit for Visual Studio .NET.
You should already have VS.NET 2003 installed by this point. The downloading and installing of InfoPath 2003 Toolkit for Visual Studio .NET has already been covered in Chapter 11, "Working with Code in Your InfoPath Form" in the section titled "Managed Code with .NET."
After downloading and installing the toolkit, you can open Visual Studio .NET. When you select a new project, additional choices will be displayed, offering C# or Visual Basic InfoPath .NET projects.
When creating InfoPath forms using .NET, you will be using the InfoPath object model just as you do when using scripting. However, instead of accessing the object model directly, Microsoft has created namespaces to support the object model, creating the necessary classes with methods, properties, and events. The following table contains some of the more useful classes available in the Microsoft.Office.Interop.InfoPath.SemiTrust namespace:
|DataObject||Enables developers to manipulate the data sources ...|