Using FileSystemObject

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

    #1

    Using FileSystemObject

    I know how to query for a change in the file.

    But how do I get at the files contents.

    The file is a text file (.txt).

    Can anyone assist?

    Thanks

    Tom

  • Jon Skeet

    #2
    Re: Using FileSystemObjec t

    Tom <dariatj@fhlbci n.com> wrote:[color=blue]
    > I know how to query for a change in the file.
    > But how do I get at the files contents.
    > The file is a text file (.txt).
    > Can anyone assist?[/color]

    You just load the file - look up "Reading text from files" in MSDN for
    example code.

    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    • Tom

      #3
      Re: Using FileSystemObjec t

      Thanks Jon.

      Tom
      [color=blue]
      >-----Original Message-----
      >Tom <dariatj@fhlbci n.com> wrote:[color=green]
      >> I know how to query for a change in the file.
      >> But how do I get at the files contents.
      >> The file is a text file (.txt).
      >> Can anyone assist?[/color]
      >
      >You just load the file - look up "Reading text from[/color]
      files" in MSDN for[color=blue]
      >example code.
      >
      >--
      >Jon Skeet - <skeet@pobox.co m>
      >http://www.pobox.com/~skeet/
      >If replying to the group, please do not mail me too
      >.
      >[/color]

      Comment

      Working...