R
RobKinney1
Hello, I am developing an application in C++ that opens a Word document. It
needs to validate that it is a valid Word document and then close it.
Well, I can open and close it, but it seems that Word will open practically
anything! I can open exe’s, dll’s, etc. The all open without error. Is
there any type of checking I can do in the document to make sure that this is
a valid Word document (aside from checking the file extension, you can never
trust what a customer really uploaded).
Any help is appreciated. Thank you all for reading this.
Rob K
needs to validate that it is a valid Word document and then close it.
Well, I can open and close it, but it seems that Word will open practically
anything! I can open exe’s, dll’s, etc. The all open without error. Is
there any type of checking I can do in the document to make sure that this is
a valid Word document (aside from checking the file extension, you can never
trust what a customer really uploaded).
Any help is appreciated. Thank you all for reading this.
Rob K