Insert text at a specified point in a text file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jonathan Smith

    Insert text at a specified point in a text file

    I have a text file and i need to be able to insert text into it at specified
    points.

    How do i do this?
  • Ken Halter

    #2
    Re: Insert text at a specified point in a text file

    "Jonathan Smith" <JonathanSmith@ discussions.mic rosoft.com> wrote in message
    news:EB29D9A7-09CD-44AD-8D87-103FBBF06F6D@mi crosoft.com...[color=blue]
    >I have a text file and i need to be able to insert text into it at
    >specified
    > points.
    >
    > How do i do this?[/color]

    Basically, read the file into ram, insert the text and write out a new file.

    --
    Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
    Please keep all discussions in the groups..


    Comment

    Working...