Create attachment from embedded object

Has anyone written any code that will create an attachment from an embedded object ?

I have 3000 documents in a database that have a single embedded picture on them. I need the pictures to be attachments in order for me to more easily access them programmatically.

Ideally the code will find the picture and then paste it into another rich text field on the document.

Thanks

Paul

Subject: create attachment from embedded object

You’ll probably will have to detach the emmbedded object to a temp directory and then save it as an attachment in the rich text field.

HTH:

SPJ