Read Attachment

Hi All,

I need your help urgently if somebody have any idea please help me. I am trying to read an attachment content. I have document which has a ms-word file is attached to it. now in that form I have also a richtext field. now I wanted to read the doc file content and paste its content to richtext field. I used fileupload control to make an attachment to the document.

This is web-based application.

Please help or suggest me if any one have any idea.

With Regards,

Vikas K Sinha

Subject: Read Attachment

Assuming web:

  1. Upload the attachment to the server

  2. Detach the attachment to a temporary area

  3. Control an application like Word through automation, to open the file, export it into the format you want

  4. get the exported word content and import it into your rich text field

  5. clean up temporary files.