w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
I want to convert Microsoft Word document to .txt format and save it in my solution folder

You can use DocX to read/manipulate word documents with no dependencies on Office or Interop.

Find DocX Here

The project owner, Cathal Coffey posts on various DocX topics HERE

I did a quick and dirty "get started" type article on using DocX HERE

It should be relatively simple to use DocX to pull the text our of a Word doc and then save as a plain .txt file.

I don't normally just post links in an SO answer. In this case, however, since I am just pointing you to an alternative tool to get the job done, it seems appropriate.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.