Create Word 2003 Documents with .NET
description Attachments to this article include two Visual Studio 2005 solutions (Visual Basic and C#) which demonstrate how to use automation to create a new document in Word 2003.
get resource -> Create Word 2003 Doc w C# 2005
Create Word 2003 Doc w VB 2005
environment Visual Studio 2005
language Visual Basic, C#
namespace Microsoft.Office.Interop.Word
tags automation, Word 2003, C#, Visual Basic

While Microsoft Office Word 2003 still relies on VBA and COM, it can be automated in .NET code via .NET and COM interoperability. This allows you to create more powerful applications by integrating the many functions available in the Word products into your application.

The sample code in the attached projects demonstrates how to do the following: Create a Word application object; create a Word document, insert paragraphs with text and formatting; browse and modify various ranges within a document; insert tables, format tables, and populate the tables with data; and adding a chart.

Copyright © 2001-2009 aZ Software Developers. All rights reserved.

 

.