Results 1 to 4 of 4

Thread: Replace

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 1999
    Location
    Sarasota, FL, US
    Posts
    49

    Replace

    is it possible to do a string replace in a .txt file without opening the file? the file is over 64k so it won't go in a textbox.

  2. #2
    Lively Member
    Join Date
    Nov 2000
    Location
    Sugar Grove, IL
    Posts
    99
    Easiest way that I can think of to do it is to put it into a Rich Text Box, thought that control is significantly larger than a text box control.
    In case of a water landing, my head may be used as a flotation device.

  3. #3
    Lively Member Crazy_bee's Avatar
    Join Date
    Jul 2001
    Location
    Fitchburg
    Posts
    90

    open the file

    Open the file for input and assign the whole each line to a string and the search the string. There is no need to enter it into a text box.
    Don't ever Ginop before you Ginip

  4. #4

    Thread Starter
    Member
    Join Date
    Jan 1999
    Location
    Sarasota, FL, US
    Posts
    49
    thanks Crazy_bee, could you give me an example to follow

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