|
-
Aug 10th, 2000, 10:32 AM
#1
Thread Starter
Member
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
-
Aug 10th, 2000, 11:15 AM
#2
Member
You can use sysinfo control that notifys the information you required
-
Aug 10th, 2000, 11:27 AM
#3
Fanatic Member
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.
-
Aug 10th, 2000, 11:31 AM
#4
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|