How to check whether given file is in PROPER word file format?
- by shekhar
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