MS Word automation in C#

I have Visual Studio 2005 running on Windows Vista

I want to automate MS Word 2007 documents in my C# code.

Where do I begin?  The sample code I have found so far does not seem to work.  I have added the Word Object LIbrary to my Windows App References.
Tom KnowltonWeb developerAsked:
Who is Participating?
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
Tom KnowltonWeb developerAuthor Commented:
I just did ... and it worked.

For some reason having Microsoft.Office.Interop up in my using statements still meant I had to go:


in my code.  I would have thought that I wouldn't have to type all of that each time.

But, it works....thanks!
All Courses

From novice to tech pro — start learning today.