How to check whether given file is in PROPER word file format?
Posted
by shekhar
on Stack Overflow
See other posts from Stack Overflow
or by shekhar
Published on 2010-06-08T05:37:27Z
Indexed on
2010/06/08
5:42 UTC
Read the original article
Hit count: 235
Hi, I am developing one application using C# for processing MSWord files. My application gets hang when I pass invalid .doc file as an input. For example, if I have one foo.pdf file and I pass it to my application after changing its extension (foo.doc). Is it possible to check whether file is valid doc file before trying to open it? Please enlighten !!!!
Thanks in advance
© Stack Overflow or respective owner