Anyone know how to make and OLE open an RTF/Text file and then search it for a specific word?
Printable View
Anyone know how to make and OLE open an RTF/Text file and then search it for a specific word?
Does anyone have any suggestions on how to accomplish opeing a TXT file using OLE. Everytime I do it, it show the icon instead of the text in the OLE container.
code:
--------------------------------------------
OLE1.CreateEmbed (textfilename)
Working code:
-------------------------------------------
RichTextBox1.LoadFile (textfilename)
I would like to use either an object to open different file types or an OLE. Which one is better?