Hi =?Utf-8?B?SGFuLUhvbmc=?=,
I am thinking about using C# to write a program to handle Word documents
in my job. Since I am using .NET SDK1.1, how can I make the Word object
model available to my C# program?
To program a COM app: Add a REFERENCE to the object library to the project,
from the list of COM programs. If you don't have PIAs installed, it should
create the necessary PIAs.
Note that you probably will only be able to automate Word 2000 or later. If
Word 2003 is your target, make sure that
1. The framework is installed
2. Then install office, and make sure to select the PIAs to install,
explicitly. You should use Microsoft's PIAs, not self-created ones
I believe you can d/l the Office XP PIAs from microsoft.com
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail
