mr_unreliable
Wed Jul 20 11:23:18 CDT 2005
hi there dont-get-stuck,
While it is possible, all the code examples I found are in c++.
For example:
"How to insert a bitmap into an RTF document using the RichEdit control
in Visual C++ 6.0"
Found here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;220844
So that suggests that if you want to use that code in asp, that you are
going to have to place it in some sort of actX wrapper.
There was some discussion about adding an object (like ms paint) into
the rtf, and then using that to display a graphic file, but I couldn't
find any example code for that. But if you have used (ms) wordpad to
create an rtf file, you can see that wordpad does it (i.e., insert a
graphic displayed by msPaint).
cheers, jw
____________________________________________________________
You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)
dontGetStuckLikeMe wrote:
> How can I programatically insert images into my rtf-file?
> I generate the files with asp in combination with the rtf-spec but I can't
> figure out how I can insert images from file.
> Any suggestions?