I hadn't tried the result of the original code with MSWord, not realizing that there would be a difference with Wordpad.srod wrote:Update : 18th Jan 2009.
Problems with Wordpad recognising rtf with an embedded EMF [...]
@Blue : this should fix your problem.
I'll use the updated code, but, before anything else, i'll try the old test.rtf with MSWord. Just to see.
Many thanks for the attention, srod. Much appreciated. I was beginning to feel embarassed, seeing how everybody else was getting results

-----------------------------------------------------------
Feedback: Using the first version of your code, i could see, when opening the RTF with Word, that the pic had indeed been embedded.
Plus it also worked with WordPad after re-saving the file from within Word.
-----------------------------------------------------------
Feedback 2: just tested the updated code. Impeccable.
And you weren't kidding when you announced speed improvement: from snail pace to Mach-1 in one version change. Very impressive.
