I am trying to convert a .doc to .pdf. When I try to create a new Document object it gives me a Unknown File Format error for .doc and some code works for .docx. What am I doing wrong?
Please see attached document BOL#BDM248-06-06-2017-T21442-TRAILER.doc. I updated to the latest version 17.6 and tried it again this morning but it still gave me the same error.
That’s funny I downloaded the document that I attached and it opened in MS Word 2010 no problem for me.
That’s the thing. We have an application that produces these documents and it is hundreds a day. I am trying to use aspose to convert them to pdf so that they can be published on our site. I guess I will have to find another product to use. I guess that I have enabled the trust settings on my machine because the attached is what I get when I open it in 2010.
jason.aycock:
I guess that I have enabled the trust settings on my machine because the attached is what I get when I open it in 2010.
Here is what my file block settings look like. I had another member of my team who could not open it before change his settings to this and he was able to open the document.