Hi there,
Does anyone know how I should go about embedding files into the RichTextBox control.
When you drag a number of files from Explorer into a RichTextBox, they are automatically inserted into the RichTextBox control without opening.
I am trying to do this programatically using the following code, but when the file is inserted, it automatically opens. (I don't want the file(s) to open until the user double-clicks the file)
Hope this makes sense. Any help would be greatly appreciated.Code:RichTextBox1.OLEObjects.Add , , "C:\MYDOC.DOC"




Reply With Quote