Results 1 to 2 of 2

Thread: OLE & RTF/Text file

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2000
    Location
    Midwest
    Posts
    35

    Question

    Anyone know how to make and OLE open an RTF/Text file and then search it for a specific word?

  2. #2

    Thread Starter
    Member
    Join Date
    Sep 2000
    Location
    Midwest
    Posts
    35

    Question 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
  •  



Click Here to Expand Forum to Full Width