pmott
February 17th, 2000, 02:50 AM
"mypic.bmp" is a bitmap file. rtfMyText is a rich text box. It is filled with text. I do this:
x = rtfMyText.SelStart
rtfMyText.InsertOleObjectAt x, "myPic.bmp"
but alas the picture is not inserted into the rich text box after all. Indeed I don't even know andcannot find out how to insert a string in the box:
x = rtfMyText.SelStart
rtfMyText.InsertStringAt x, "Hello world!"
Anyone have any ideas on this?
Thanks,
Peter
x = rtfMyText.SelStart
rtfMyText.InsertOleObjectAt x, "myPic.bmp"
but alas the picture is not inserted into the rich text box after all. Indeed I don't even know andcannot find out how to insert a string in the box:
x = rtfMyText.SelStart
rtfMyText.InsertStringAt x, "Hello world!"
Anyone have any ideas on this?
Thanks,
Peter