Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have to convert .doc file byte array to html string using C# without using interop dll and Ms office installed

is there any way to do that?

What I have tried:

I have gone multiple libraries but all are paid and I didn't find any library which does the work in memory stream without saving the destination file path or without giving the source file path
Posted
Updated 3-Mar-19 4:34am

 
Share this answer
 
You can try DocX. Not sure if it does .doc files or only .docx ones.

NuGet Gallery | DocX 1.3.0[^]
 
Share this answer
 
Comments
Richard Deeming 5-Mar-19 12:51pm    
Word 2007+, so no .doc support:
https://github.com/xceedsoftware/docx[^]

I also can't see any mention of converting to HTML, even in the paid-for version.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900