Inserting graphic Image into RichText Box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

H

How do insert and image or graphic into a rich text box pragmatically. Would really appreciate for anyone give me sample code in VB.ne

Regards
Kelly
 
Hi,

Dim img As Image = Image.FromFile("C:\camera.bmp")

Clipboard.SetDataObject(img)

RichTextBox1.Paste()



Ken

--------------

Kelly Dykstra said:
Hi

How do insert and image or graphic into a rich text box pragmatically.
Would really appreciate for anyone give me sample code in VB.net
 
Thanks Ken this exactly what i needed but how can i control the paste. I like to paste at end of of the RichTextBox text

Thanks agai
Kelly
 
Back
Top