Link to home
Start Free TrialLog in
Avatar of Tom Knowlton
Tom KnowltonFlag for United States of America

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tom Knowlton

ASKER

I just did ... and it worked.

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

Microsoft.Office.Interop.Word._Application

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


But, it works....thanks!