Open/Save/Close .rtf in Wordpad Programatically
Posted on 2006-11-03
Is there a way to Open a Word Document (xxx.rtf) using WordPad and then resave within Wordpad programatically.
I can manually do this with out any problem.
I need this because we have some .rtf files which fail to open using word but with Wordpad they open fine.
Word fails to open and the error description i get is
"Word was unable to read this document. It may be corrupt.
Try one or more of the following:
* Open and Repair the file.
* Open the file with the Text Recovery converter.
If i open this doc in Wordpad, resave and then open up the doc in MS-word mannualy, it works fne.
Any help will be greatly appreciated.