Our organization has moved to Office 2013 and we use MS Word to generate documents which are saved in our DB. With the new version of Word 2013, MS added a new 'file block' security feature which our security department will not allow us to use Word 97 and older documents or templates, which in some cases causes a problem for us as we do have older Word documents and templates in the DB. We will be converting our documents and templates to Word 2013, however, I was wondering if there is code out there that will determine the original version of a MS Word file before converting it to a new version.
There might be one problem, it is currently designed that in the table, the BLOB column will only contain Word documents and does not store the file extension when it was originally added to the DB, so it is a possibility that there are already .docx files there. Since I currently don't have code that checks to see what version of Word the document was originally created in, I pull the document out of the DB, save it as .DOC and then convert to .DOCX. I would like to remove a step where I don't have to convert an already .DOCX file.
I was hoping to find some code that would give me the original version so I would not have to do this.
Hope this makes sense.
Any help is much appreciated.
Thank you.
There might be one problem, it is currently designed that in the table, the BLOB column will only contain Word documents and does not store the file extension when it was originally added to the DB, so it is a possibility that there are already .docx files there. Since I currently don't have code that checks to see what version of Word the document was originally created in, I pull the document out of the DB, save it as .DOC and then convert to .DOCX. I would like to remove a step where I don't have to convert an already .DOCX file.
I was hoping to find some code that would give me the original version so I would not have to do this.
Hope this makes sense.
Any help is much appreciated.
Thank you.