C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,198 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a c# function that reads paragraphs from .doc/.docx files. I use the familiar Microsoft system. The problem is that to read a 20mb size file it takes 1 hour and to read a 100mb file it takes all day and I can't use the pc for anything else.
Basic problem is that Word does not know what a page is.
https://wordmvp.com/Mac/PagesInWord.html
It does know what a paragraph is (anything followed by a paragraph mark).
What does the code do with the content it retrieves from the Word document? Perhaps there is a simpler way than going through paragraph by paragraph.