I would like to open a Word document in C#. I mean I would like to know how a Word document is embedded in C#.
I found some article in the net and I have a question. What does it mean here: Open Word Application, and Add New. If I open the Word I don't see any "add new" is that in C#? I'm using Microsoft Visual Studio 2008.
All the methods used Word automation is derived either from Word.Application or Word.Document class.
Let's consider that we want to create a document using the Word Application, we might end up doing the following steps, Open Word Application. (Opening Word Application creates a new document by default, but in Automation, wee need to manually add a document)
Add a New document.
Edit the document.
Save it
You can find the article here by the way: http://www.c-sharpcorner.com/UploadFile/amrish_deep/WordAutomation05102007223934PM/WordAutomation.aspx and I would like to make it clear that this is not a homework.