Open word document
-
the EASIEST way to do so is simply running word. System.Diagnostics.Process.Start("winword", "\""+filename+"\""); winword runs word, while the filename in " is an argument with the filename you want to load. the other way is to create a word object, for that you will need to add to reference a COM (to the toolbox) called "Microsoft Word Object Library" (something like that). there you will have an object that will allow to automate word (if that is what you want to do). you can also download ms word tools for VS from microsoft's site.
-
You can use the following code ,if you use the Spire.Doc. Document document = new Document(); document.LoadFromFile(@"\YourFile.doc"); It is a c# word automation component ,that supports read and write doc, docx, html, image etc. embed image still support,may help to you.