RichTextBox Control

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

Guest

Hello:

Microsoft is making my stuff hard to do with .NET as I'm a VB6 developer.
How do I add an image to a RichTextBox Control in .NET?

Thank you!
 
Well, you can use the "OLEObjects" collection.
E.g.:

RichTextBox1.OLEObjects.Add , , , "C:\myPicture.gif"
 
Back
Top