Results 1 to 4 of 4

Thread: .NET Windows Service

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2003
    Posts
    40

    .NET Windows Service

    Need to create a service that will monitor a specified folder for any
    xml files that are dropped into it. It will take the file, process it then discard it. The file name could vary, but will always be xml.
    i have info on how to create the shell of the service, but not sure how to monitor for files dropping in. Any advice?

    Thanks

  2. #2
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    You may want to check out the FileSystemWatcher class.

  3. #3
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    duh, I was just reading your other post, guess you already figured this out. Whoops.

  4. #4

    Thread Starter
    Member
    Join Date
    Feb 2003
    Posts
    40

    Thumbs up Thanks

    No need for a duh, Cant expect to be on top of all the post all the time!

    Thanks for the reply!

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