Organizations often create applications that serve both
internal and external customers. For example, an organization might need to
regularly generate customized Word documents for both users and customers.
Fortunately, you can use COM objects with Microsoft Office applications. Office
lets you drive most of its features from a programming language such as Visual
Basic 2005. This compatibility lets you automate almost any task.
In the below example I show you how to use Visual Basic 2005
and Word to create custom reports in Win forms.