Richtextitem with image

Hello,

I would like to create a memo with an image in lotuscript. I don’t create an attachment but an image.

Could you have information?

Thanks in advance

Sylvain

Subject: Richtextitem with image

you can use “Import” method, but only work with NotesUIDocument

Sub Click(Source As Button)

Dim ws As New NotesUIWorkspace

Dim uidoc As NotesUIDocument

Set uidoc = ws.CurrentDocument

Call uidoc.GotoField("Body")

Call uidoc.Import("GIF Image", "c:\image.gif")

End Sub

Subject: RE: Richtextitem with image

And if that doesn’t help you, you might look at this article about MIME (the sample database is free).

This question has also been answered at great length numerous times in this forum, if you will do a little searching.