|
-
Oct 10th, 2000, 07:15 PM
#1
Thread Starter
Member
Anyone know how to make and OLE open an RTF/Text file and then search it for a specific word?
-
Oct 12th, 2000, 06:26 AM
#2
Thread Starter
Member
HELP!!!
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|