Hi I read McRiders answer to a question about OLE and RTF.
Cant u just use:
'Text1.Text contains the address to the Image, like C:\image.jpg
Dim CountOle As String
Dim CountObj As Long
Dim Info As String
For CountObj = 0 To CountOle
On Error Resume Next
This Works For me. But if anyone can modify the code to leave the image address (key) where the Image where in the exact same place, that would be great.
It has to work even tough the text between and over the images has been modified or the Images has been dragged to another position. I dont need a msgbox to come up when someone click them. Just basicly replace them with its address. To remove an image use the RichTextBox1.OLEObjects.Remove(??).
I have also noticed that the Objects looses its Key when draged to another position in the RTF-Box. Any suggestions on how to work around this problem?
Im writing a WYSIWYG html editor for my final exscam in school. Any Help would be Great.
Thanks a lot Jenny!