How to extract WordPad Document object from Word document 2003

Jan 5 2009 6:17 AM
I have a word document file (say, ABC.doc).
A wordpad document object is inserted using insert>object and in "object dialog box" select "WordPad Document"  from "create New" tab.

Now i want to extract this wordpad portion from the word document and save it as new file say XYZ.rtf.

I have already used "Microsoft.Office.Interop.word" for reading theword document.
The ClassType of OLEFormat in the InLineShape gives us "WordPad.Document.1"

we were able to extract those document which has classtype as "Word.Document.8"

Do you have any idea how to extract the wordpad document (having classtype = "WordPad.Document.1") from the word document.

Thank you,
Pasa

Answers (4)