Results 1 to 4 of 4

Thread: Notification of a new file

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2000
    Posts
    62
    I have an application that waits for new data to come in over the internet. Once it receives that data it writes it to a text file. I am writing a program that is going to use that text file to do some operations. My question is: Is there a way for my program to be notified that a new file has been generated? Any other suggestions will be appreciated.

    Thanks, JJK

  2. #2

    Lightbulb

    You can use sysinfo control that notifys the information you required
    Madhusudana Gorthi [email protected]
    Senior Software Engineer
    www.stgil.com

  3. #3
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    736
    I don't know if this is the best way to do this, but I have a program that does something similar.

    I set up a FileListBox that has a path of the directory where the text file will be placed. I set up a timer to refresh the contents of the FileListBox. When the filelistbox.listcount increments, I know a new file has been received.

  4. #4

    Thread Starter
    Member
    Join Date
    Mar 2000
    Posts
    62
    yeah, i figured i could use a timer to check if the file has been updated. but i wanted to stay away from that, that is why i wanted to know if there was a way to be notified. i will check out the sysinfo control.
    thanks
    jj

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