

Microsoft Office XP does not include PIAs, but they can be downloaded. Note Microsoft Office 2003 includes Primary Interop Assemblies (PIAs). Note In Visual Studio 2005, you do not have to click Select. On the COM tab, locate Microsoft Word Object Library, and then click Select.On the Project menu, click Add Reference.Note In Visual Studio 2005, click Visual C# instead of Visual C# Projects.Īdd a reference to Microsoft Word Object Library. Under Project Types, click Visual C# Projects, and then click Windows Application under Templates. On the File menu, click New, and then click Project. Start Microsoft Visual Studio 2005 or Microsoft Visual Studio. To create a new Word document by using Automation from Visual C# 2005 or Visual C#.

Insert tables, format tables, and populate the tables with data.

