Hopefully a simple question.... (resolved)
All i really want to know is, is it possible to insert images into a rich text box with VB, if so how?
and if not, do you know why word can do it for rtf's and we cant :P
I know for sure that my program will open images in a rtf file.. but don't know how to insert them...
Try something along these lines
VB Code:
Private Sub Form_Load()
Dim lpobj As OLEObject
Dim szfilename As String
szfilename = App.Path & "\ttt444.bmp" ' put some valid file name here
Set lpobj = RichTextBox1.OLEObjects.Add(, , szfilename)
lpobj.DisplayType = rtfDisplayContent
End Sub